Skip to content

Commit

Permalink
Merge pull request brave#7773 from brave/feature/parallel-travis
Browse files Browse the repository at this point in the history
split Travis into parallel test suites
  • Loading branch information
bsclifton authored Mar 20, 2017
2 parents 842ec25 + cd8b3d7 commit d717669
Show file tree
Hide file tree
Showing 26 changed files with 17 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,30 @@ node_js:
- "7"
dist: trusty
sudo: required
cache:
directories:
- node_modules
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:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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\"",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d717669

Please sign in to comment.