Created
February 1, 2018 19:03
-
-
Save netstart/67d4440a0b08813e140d11beda0414d6 to your computer and use it in GitHub Desktop.
Travis configuration to build angular project
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
language: node_js | |
sudo: required | |
node_js: | |
- node | |
before_script: | |
- "sudo chown root /opt/google/chrome/chrome-sandbox" | |
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox" | |
before_install: | |
- export CHROME_BIN=chromium-browser | |
- export DISPLAY=:99.0 | |
- sh -e /etc/init.d/xvfb start | |
script: # the build step | |
- node_modules/.bin/ng test --colors=false --progress=false --single-run | |
cache: | |
yarn: true | |
directories: | |
- ./node_modules | |
- ./.chrome/chromium |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment