forked from brave/browser-laptop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (61 loc) · 1.52 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: node_js
node_js:
- "7"
dist: trusty
sudo: required
group: edge
before_install:
- sudo apt-get install -y python
- npm i -g [email protected]
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- npm run download-sync-client
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
script:
- npm run testsuite
branches:
only:
- master
- /\d+\.\d+\.x/
notifications:
slack:
secure: bDwO2uce5JAZvjrvWj4+/+yEXJAIK4O0RcgUWvZ2IMbi7Q9I89Mw40JmkLWL6x2gWZwxr8+FoLtErJA7RVrsfImjrX+NmMyAB7AydLdrBJtkLozNnuacnhcnBRyp1gGCa1ymxCEXGbgC6onAD3kiJJhggr70T+2lu3IuJYXENhc=
env:
global:
- CXX=g++-4.8
- NODE_ENV=test
matrix:
- TEST_DIR=lint
- TEST_DIR=unit
- TEST_DIR=codecov
- TEST_DIR=tools
- TEST_DIR=security
- TEST_DIR=about
- TEST_DIR=app
- TEST_DIR=bookmark-components
- TEST_DIR=bravery-components
- TEST_DIR=contents
- TEST_DIR=misc-components
- TEST_DIR=navbar-components
- TEST_DIR=tab-components
- TEST_DIR=performance ARTIFACTS_REGION=us-east-1
matrix:
fast_finish: true
allow_failures:
- env: TEST_DIR=about
- env: TEST_DIR=app
- env: TEST_DIR=bookmark-components
- env: TEST_DIR=bravery-components
- env: TEST_DIR=contents
- env: TEST_DIR=misc-components
- env: TEST_DIR=navbar-components
- env: TEST_DIR=tab-components
- env: TEST_DIR=performance ARTIFACTS_REGION=us-east-1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- xvfb
- g++-4.8