Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from Apollon77/master
Update CI testing
- Loading branch information
Showing
1 changed file
with
21 additions
and
24 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,29 @@ | ||
os: | ||
- linux | ||
- osx | ||
- windows | ||
|
||
- linux | ||
- osx | ||
- windows | ||
language: node_js | ||
node_js: | ||
- "10" | ||
- "12" | ||
- "14" | ||
|
||
- '12' | ||
- '14' | ||
- '16' | ||
env: | ||
- CXX=g++-4.8 | ||
- CXX=g++-4.8 | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.9 | ||
|
||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-6 | ||
before_install: | ||
- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then CC=gcc-4.9; fi' | ||
- 'if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then CC=g++-4.9; fi' | ||
- '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 | ||
- 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 | ||
- 'npm run test:package' | ||
- 'npm run test:unit' | ||
- 'export DEBUG=testing:*' | ||
- 'npm run test:integration' |