-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
37 lines (37 loc) · 1018 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
32
33
34
35
36
37
sudo: true
dist: trusty
language: node_js
services:
- redis-server
before_install:
- sudo apt-get install tidy libtidy-0.99-0 build-essential git cmake xsltproc xvfb -y
# - echo 'Installing firefox binaries'
# - sudo apt-get install libpthread.so libdl.so libstdc++.so libm.so libgcc_s.so libc.so ld-linux-x86-64.so libXrender1.so libasound.so.2 libgtk-x11-2.0.so.0
# - wget https://ftp.mozilla.org/pub/firefox/releases/49.0/linux-x86_64/en-US/firefox-49.0.tar.bz2
- sh -e /etc/init.d/xvfb start
- npm install
env:
- CXX=g++-4.8 SLIMERJSLAUNCHER=$(which firefox) DISPLAY=:99.0 PATH=$TRAVIS_BUILD_DIR/slimerjs:$PATH
cache:
directories:
#- node_modules
#- test-server/bower
- typings
addons:
firefox: "49.0"
install:
- npm run bower
- npm run typings
- npm run build
- npm run getslimer
- npm run preboot
node_js:
- "5.11"
notifications:
email:
recipients:
- antoine.lucas.australia@gmail.com
on_success: never
on_failure: always
after_success:
- npm run codecov