-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.travis.yml
48 lines (37 loc) · 894 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
38
39
40
41
42
43
44
45
46
47
48
dist: xenial
language: node_js
node_js:
- '8'
addons:
chrome: beta
branches:
only:
- develop
before_cache:
- rm -f $HOME/.meteor/log/*.log
services:
- docker
- xvfb
before_install:
- ls -la
- sudo apt-get update
- sudo apt-get install g++ build-essential xvfb
# Install meteor locally on CI
- if [ ! -e "$HOME/.meteor/meteor" ]; then cat .travis_install_meteor | sed s/--progress-bar/-sL/g | /bin/sh; fi
before_script:
#Previously used yarn, but now after migrating to meteor 1.8, yarn fails to create some binaries.
- meteor npm install
- npm run lint
- npm view chimp version
- npm view chromedriver version
install:
- export PATH="$HOME/.meteor:$PATH"
script:
# Run meteor and chimp from node.js
- travis_retry npm run test
# Build docker image
- ./.scripts/docker_build.sh
env:
global:
- DISPLAY=:99.0
- TEST_MODE: "true"