Skip to content

Commit

Permalink
Remove browser testing from travis
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Jan 7, 2017
1 parent fb54eec commit 8dc329f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
20 changes: 6 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,24 @@ node_js:
- "4"
- "5"
- "6"
- "7"
addons:
firefox: latest-esr
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang-3.5
- g++-4.8
before_install:
- sh -e /etc/init.d/xvfb start
env:
global:
- DISPLAY=:99.0
- JOBS=2
- RANDOM_TESTS_REPEAT=100
- CXX=g++-4.8
matrix:
- CXX=g++-4.8 TEST_SUITE=unit:node
- TEST_SUITE=unit
matrix:
fast_finish: true
include:
- os: linux
node_js: "4"
env: CXX=g++-4.8 TEST_SUITE=lint
- os: linux
node_js: "4"
env: CXX=clang++ TEST_SUITE=unit:node
- os: linux
node_js: "4"
env: CXX=g++-4.8 TEST_SUITE=unit:browser
node_js: "6"
env: TEST_SUITE=lint
script: npm run $TEST_SUITE
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
"install": "npm run rebuild || echo \"Secp256k1 bindings compilation fail. Pure JS implementation will be used.\"",
"lint": "standard",
"rebuild": "node-gyp rebuild",
"test": "npm run lint && npm run unit:node",
"unit:browser": "karma start karma.conf.js",
"unit:node": "tape test/index.js |faucet"
"test": "npm run lint && npm run unit",
"test:browser": "karma start karma.conf.js",
"unit": "tape test/index.js | faucet"
},
"dependencies": {
"bindings": "^1.2.1",
Expand Down

0 comments on commit 8dc329f

Please sign in to comment.