-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
31 lines (26 loc) · 859 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: node_js
node_js:
- "6"
sudo: required
dist: trusty
addons:
chrome: stable
env: BROWSERS=firefox E2E_BROWSERS=Firefox
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
# dependencies for resemble.js
- sudo apt-get install -y libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++-4.8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
# e2e test dependencies
- npm install -g bower protractor
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm run update-webdriver
- nohup bash -c "gulp connect 2>&1 &"
- nohup bash -c "webdriver-manager start 2>&1 &"
script:
- npm run protractor
after_script:
- bash -c 'for f in /tmp/*.png ; do cat "$f" | base64 | curl -F "sprunge=<-" http://sprunge.us ; done'