Skip to content

Commit

Permalink
Update testing for nodejs12 (#3)
Browse files Browse the repository at this point in the history
* update travis.yml

* [skip appveyor] update travis.yml
  • Loading branch information
Apollon77 authored and wattnpapa committed May 15, 2019
1 parent 39054de commit db9dfb1
Showing 1 changed file with 30 additions and 32 deletions.
62 changes: 30 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
os:
- linux
- osx
- windows

language: node_js
node_js:
- '6'
- '8'
- '10'

env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9

before_install:
- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then CC=gcc-4.9; fi'
- 'if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then CC=g++-4.9; fi'
before_script:
- export NPMVERSION=$(echo "$($(which npm) -v)"|cut -c1)
- 'if [[ $NPMVERSION == 5 ]]; then npm install -g npm; fi'
- npm -v
- npm install winston@2.3.1
- 'npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production'
script:
- npm run test:package
- npm run test:iobroker
os:
- linux
- osx
- windows
language: node_js
node_js:
- '6'
- '8'
- '10'
- '12'
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
before_install:
- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then CC=gcc-6; fi'
- 'if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then CC=g++-6; fi'
before_script:
- export NPMVERSION=$(echo "$($(which npm) -v)"|cut -c1)
- 'if [[ $NPMVERSION == 5 ]]; then npm install -g npm; fi'
- npm -v
- npm install winston@2.3.1
- 'npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production'
script:
- 'npm run test:package'
- 'npm run test:iobroker'

0 comments on commit db9dfb1

Please sign in to comment.