Skip to content

Commit

Permalink
Update 3rd party builder configs
Browse files Browse the repository at this point in the history
  • Loading branch information
oktapodia committed Nov 22, 2019
1 parent b1b4899 commit 28a428d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
sudo: false
language: cpp

env:
matrix:
- TRAVIS_NODE_VERSION="8"
- TRAVIS_NODE_VERSION="10"
- TRAVIS_NODE_VERSION="12"
- TRAVIS_NODE_VERSION="stable"

os:
- linux
- osx
Expand All @@ -12,12 +19,6 @@ cache:
git:
depth: 5

env:
matrix:
- TRAVIS_NODE_VERSION="8"
- TRAVIS_NODE_VERSION="10"
- TRAVIS_NODE_VERSION="stable"

addons:
apt:
sources:
Expand All @@ -31,11 +32,9 @@ addons:
- gcc-4.8

before_install:
# reinstall latest nvm
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh
- nvm install $TRAVIS_NODE_VERSION
- PATH=$PATH:`pwd`/node_modules/.bin

# print versions
- node --version
- npm --version
Expand All @@ -44,16 +43,12 @@ before_install:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
- $CXX --version

before_script:
# Start xvfb
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export DISPLAY=:99.0; fi
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi

install:
- npm install

script:
- npm test
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then npm test; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then xvfb-run npm test; fi

after_success:
- if [[ $TRAVIS_TAG != "" ]]; then npm run prebuild -- -u $GITHUB_TOKEN; fi
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ environment:
matrix:
# node.js
- nodejs_version: "8"
- nodejs_version: "10"
- nodejs_version: "12"
- nodejs_version: "Stable"

cache:
Expand Down

0 comments on commit 28a428d

Please sign in to comment.