Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Travis job optimizations
Browse files Browse the repository at this point in the history
Auditors:

Test Plan:
  • Loading branch information
NejcZdovc committed May 8, 2018
1 parent bced563 commit 71717b2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 13 deletions.
40 changes: 28 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,34 @@ notifications:
slack:
secure: bDwO2uce5JAZvjrvWj4+/+yEXJAIK4O0RcgUWvZ2IMbi7Q9I89Mw40JmkLWL6x2gWZwxr8+FoLtErJA7RVrsfImjrX+NmMyAB7AydLdrBJtkLozNnuacnhcnBRyp1gGCa1ymxCEXGbgC6onAD3kiJJhggr70T+2lu3IuJYXENhc=
env:
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=lint
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=unit
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=codecov
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=about
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=app
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=bookmark-components
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=bravery-components
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=contents
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=misc-components
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=navbar-components
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=tab-components
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=performance ARTIFACTS_REGION=us-east-1
global:
- CXX=g++-4.8
- NODE_ENV=test
matrix:
- TEST_DIR=lint
- TEST_DIR=unit
- TEST_DIR=codecov
- 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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test": "cross-env NODE_ENV=test mocha \"test/**/*Test.js\"",
"testsuite": "node ./tools/test.js",
"unittest": "cross-env NODE_ENV=test mocha \"test/unit/**/*Test.js\" --globals chrome,DOMParser,XMLSerializer",
"unittest-cov": "node --harmony node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly --report html --report text -x \"test/unit/**/*Test.js\" -- \"test/unit/**/*Test.js\"",
"unittest-cov": "node --harmony node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --globals chrome,DOMParser,XMLSerializer --report lcovonly --report html --report text -x \"test/unit/**/*Test.js\" -- \"test/unit/**/*Test.js\"",
"update-pdfjs": "rm -r app/extensions/pdfjs/; cp -r ../pdf.js/build/chromium/ app/extensions/pdfjs/",
"update-psl": "./tools/updatepsl.sh",
"vagrant-destroy-linux": "VAGRANT_CWD=./test/vms/vagrant/ubuntu-14.04 vagrant destroy",
Expand Down

0 comments on commit 71717b2

Please sign in to comment.