Skip to content

Commit

Permalink
chore(ci): switch to node language for travis (#155)
Browse files Browse the repository at this point in the history
See also: shelljs/shelljs#910

This switches Travis to use the node_js language. We originally used the
C++ language because OS X didn't properly support the node_js language
(so we had to do all setup manually). This is no longer the case.
  • Loading branch information
nfischer committed Dec 2, 2018
1 parent c3bb1cc commit 062e50a
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .travis.yml
@@ -1,30 +1,21 @@
language: c++
language: node_js
sudo: false
env:
- NODE_VERSION="4"
- NODE_VERSION="5"
- NODE_VERSION="6"
- NODE_VERSION="7"
- NODE_VERSION="8"
- NODE_VERSION="9"
- NODE_VERSION="10"
node_js:
- 4
- 5
- 6
- 7
- 8
- 9
- 10

# keep this blank to make sure there are no before_install steps
before_install:

install:
- rm -rf ~/.nvm
- git clone https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm install $NODE_VERSION
- node --version
- npm install
os:
- linux
- osx
script:
- npm test
after_success:
- npm run codecov -- -f coverage/lcov.info

notifications:
email: false

0 comments on commit 062e50a

Please sign in to comment.