Skip to content

Commit

Permalink
test: fix ci (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias authored Jul 12, 2017
1 parent e5a8eb5 commit 43bd5a8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
sudo: false
language: node_js
node_js:
- 4
- 6
- stable

matrix:
include:
- node_js: 4
env: CXX=g++-4.8
- node_js: 6
env:
- CXX=g++-4.8
- node_js: stable
env: CXX=g++-4.8

# Make sure we have new NPM.
before_install:
- npm install -g npm
- npm install -g npm@4

script:
- npm run lint
- npm test
- npm run coverage
- make test

before_script:
- export DISPLAY=:99.0
Expand All @@ -23,3 +30,8 @@ after_success:

addons:
firefox: 'latest'
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
11 changes: 11 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
machine:
node:
version: stable

dependencies:
pre:
- google-chrome --version
- curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome.deb || true
- sudo apt-get update
- sudo apt-get install -f
- sudo apt-get install --only-upgrade lsb-base
- sudo dpkg -i google-chrome.deb
- google-chrome --version

0 comments on commit 43bd5a8

Please sign in to comment.