-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update travis.yml * [skip appveyor] update travis.yml
- Loading branch information
Showing
1 changed file
with
30 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |