Permalink
Find file
22 lines (17 sloc) 563 Bytes
sudo: required
dist: trusty
language: node_js
node_js:
- '4.5'
install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
- sudo apt-get update -q
- sudo apt-get install -q google-chrome-stable
before_script:
- npm install
script:
- npm run test-single-run
- (npm start > /dev/null &) && (npm run protractor)