-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
57 lines (43 loc) · 1.47 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
sudo: true
dist: trusty
branches:
only:
- gh-pages
- /.*/
language: node_js
node_js:
- '0.11'
git:
submodules: false
before_install:
## latest chromium
# - export CHROME_URL=https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64
# - export CHROME_REV=$(curl -s ${CHROME_URL}/LAST_CHANGE)
# - curl ${CHROME_URL}/${CHROME_REV}/chrome-linux.zip --create-dirs -o out/chrome-linux.zip
# - unzip out/chrome-linux.zip -d out
# - export CHROME_CANARY_BIN=$PWD/out/chrome-linux/chrome
# - export DISPLAY=:99.0
# - sh -e /etc/init.d/xvfb start
## stable chrome
- sh -e /etc/init.d/xvfb start
- export DISPLAY=:99.0
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo dpkg --remove-architecture i386
- sudo apt-get clean
- sudo apt-get update
- sudo apt-get install dpkg
- sudo apt-get install google-chrome-stable --allow-unauthenticated
- export CHROME_BIN=google-chrome-stable
# Use https (public access) instead of git for git-submodules
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
#- export CHROME_BIN=chromium-browser
#- export DISPLAY=:99.0
#- sh -e /etc/init.d/xvfb start
# - 'chmod +x generateWrappedZ3.sh'
# - './generateWrappedZ3.sh'
script: 'npm test'
#after_success: 'npm run benchmark'
#notifications:
# slack: hpi:AoZKX6B1m6JVBphnsGGOgweU