forked from box/box-annotations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 791 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# @desktop @mobile @enabled
language: node_js
node_js:
- '12'
addons:
apt:
packages:
- libgconf-2-4
cache:
yarn: true
directories:
- node_modules
- ~/.cache/Cypress
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.19.1
- export HUSKY_SKIP_HOOKS=1
- export PATH=$HOME/.yarn/bin:$PATH
- export TZ=America/Los_Angeles
jobs:
include:
- name: 'Code Lint'
script: yarn lint
- name: 'Unit Tests'
script: yarn test
- name: 'E2E Tests'
if: fork = false # Note: We can only run E2E tests on canonical due to security concerns
script: yarn test:e2e
notifications:
email:
recipients: