-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b2d866
commit 10df4c9
Showing
10 changed files
with
54 additions
and
993 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 |
---|---|---|
|
@@ -7,19 +7,23 @@ node_js: | |
- '8' | ||
- '10' | ||
- '12' | ||
cache: | ||
npm: false | ||
before_script: | ||
- export NPMVERSION=$(echo "$($(which npm) -v)"|cut -c1) | ||
- 'if [[ $NPMVERSION == 5 ]]; then npm install -g npm@5; fi' | ||
- npm -v | ||
- npm install [email protected] | ||
- 'npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production' | ||
env: | ||
- CXX=g++-6 | ||
- CXX=g++-4.8 | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-6 | ||
- 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 | ||
script: | ||
- 'npm run test:package' | ||
- 'npm run test:unit' | ||
- 'export DEBUG=testing:*' | ||
- 'npm run test:integration' |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const path = require('path'); | ||
const { tests } = require('@iobroker/testing'); | ||
|
||
// Run integration tests - See https://github.com/ioBroker/testing for a detailed explanation and further options | ||
tests.integration(path.join(__dirname, '..')); |
Oops, something went wrong.