Skip to content

Commit

Permalink
added travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TKnpl committed Jan 18, 2021
1 parent 078d28d commit 47b160e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
os:
- linux
- osx
- windows
language: node_js
node_js:
- '10'
- '12'
env:
- CXX=g++-6
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
script:
- 'npm run test:package'
- 'npm run test:unit'
- 'export DEBUG=testing:*'
- 'npm run test:integration'

0 comments on commit 47b160e

Please sign in to comment.