Skip to content

Commit

Permalink
chore(travis): update node versions and run linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Mar 14, 2018
1 parent 0f225e0 commit 01e7164
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,27 @@ language: node_js
node_js:
- "4"
- "6"
- "7"
- "8"
- stable

# Make sure we have new NPM.
before_install:
- npm config set loglevel warn
- g++-4.8 --version
- if [[ "`node --version`" = v4* ]]; then npm install -g npm@latest-3; fi

addons:
firefox:
"latest"
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g npm
- npm config set loglevel warn

script:
- yarn lint
- yarn test

0 comments on commit 01e7164

Please sign in to comment.