Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #18 from Apollon77/master
Browse files Browse the repository at this point in the history
Update testing for nodejs12
  • Loading branch information
Zefau committed May 15, 2019
2 parents 6e4205f + b12832c commit ec965af
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 82 deletions.
81 changes: 41 additions & 40 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,41 @@
os:
- linux
- osx
- windows
language: node_js
node_js:
- '6'
- '8'
- '10'
- '11'
before_install:
- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CC=clang++; export CXX=clang++; export CXXFLAGS=-stdlib=libc++; fi'
- 'if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.9; fi'
before_script:
- export NPMVERSION=$(echo "$($(which npm) -v)"|cut -c1)
- 'if [[ $NPMVERSION == 5 ]]; then npm install -g npm@5; fi'
- npm -v
env:
- DEBUG=true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- build-essential
- libcairo2-dev
- libpango1.0-dev
- libjpeg-dev
- libgif-dev
- librsvg2-dev
homebrew:
packages:
- cairo
- librsvg
- jpeg-turbo
script:
- 'npm run test:package'
- 'npm run test:unit'
- 'npm run test:integration'
os:
- linux
- osx
- windows
language: node_js
node_js:
- '6'
- '8'
- '10'
- '11'
- '12'
before_install:
- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CC=clang++; export CXX=clang++; export CXXFLAGS=-stdlib=libc++; fi'
- 'if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-6; fi'
before_script:
- export NPMVERSION=$(echo "$($(which npm) -v)"|cut -c1)
- 'if [[ $NPMVERSION == 5 ]]; then npm install -g npm@5; fi'
- npm -v
env:
- DEBUG=true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- build-essential
- libcairo2-dev
- libpango1.0-dev
- libjpeg-dev
- libgif-dev
- librsvg2-dev
homebrew:
packages:
- cairo
- librsvg
- jpeg-turbo
script:
- 'npm run test:package'
- 'npm run test:unit'
- 'npm run test:integration'
118 changes: 77 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"dependencies": {
"@iobroker/adapter-core": "^1.0.3",
"canvas": "^2.3.1",
"canvas": "^2.5.0",
"dorita980": "^3.1.1"
},
"deprecated": false,
Expand Down

0 comments on commit ec965af

Please sign in to comment.