Skip to content
This repository has been archived by the owner. It is now read-only.

split Travis into parallel test suites #7773

Merged
merged 3 commits into from Mar 20, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

run travis test suites in parallel

  • Loading branch information
diracdeltas committed Mar 17, 2017
commit f1c064b284b311231ba81ece898ed1107e49687b
@@ -6,14 +6,24 @@ sudo: required
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
before_script:
- npm run download-sync-client
- npm run lint && npm test
script:
- npm run lint
- npm run testsuite
notifications:
slack:
secure: bDwO2uce5JAZvjrvWj4+/+yEXJAIK4O0RcgUWvZ2IMbi7Q9I89Mw40JmkLWL6x2gWZwxr8+FoLtErJA7RVrsfImjrX+NmMyAB7AydLdrBJtkLozNnuacnhcnBRyp1gGCa1ymxCEXGbgC6onAD3kiJJhggr70T+2lu3IuJYXENhc=
env:
- CXX=g++-4.8 NODE_ENV=test
- CXX=g++-4.8 NODE_ENV=test TEST_DIR=unit
- 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
addons:
apt:
sources:
@@ -33,6 +33,7 @@
"start2": "node ./tools/start.js --user-data-dir=brave-development-2 --debug=5859 --enable-logging --v=0 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck",
"start-brk": "node ./tools/start.js --debug-brk=5858 -enable-logging --v=0 --enable-dcheck",
"test": "cross-env NODE_ENV=test mocha \"test/**/*Test.js\"",
"testsuite": "cross-env NODE_ENV=test mocha \"test/$TEST_DIR/**/*Test.js\"",
"unittest": "cross-env NODE_ENV=test mocha \"test/unit/**/*Test.js\"",
"unittest-cov": "node --harmony node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html --report text -x \"test/unit/**/*Test.js\" -- \"test/unit/**/*Test.js\"",
"uitest": "cross-env NODE_ENV=test mocha \"test/about/**/*Test.js\" \"test/app/**/*Test.js\" \"test/components/**/*Test.js\" \"test/lib/**/*Test.js\"",
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.