We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdec99b commit 0d96eb2Copy full SHA for 0d96eb2
.travis.yml
@@ -45,13 +45,15 @@ before_install:
45
before_script:
46
# Start xvfb
47
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export DISPLAY=:99.0; fi
48
+ - if [[ $TRAVIS_OS_NAME == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
49
+ - if [[ $TRAVIS_OS_NAME == "linux" ]]; then sleep 3; fi
50
51
install: true
52
53
script:
54
- npm run patch && npm i
55
- if [[ $TRAVIS_OS_NAME = "windows" ]]; then npm run build:release:win; else npm run build:release; fi
- - if [[ $TRAVIS_OS_NAME == "linux" ]]; then xvfb-run npm test; else npm test; fi
56
+ - npm test
57
58
before_deploy:
59
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
0 commit comments