-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (27 loc) · 697 Bytes
/
.travis.yml
File metadata and controls
34 lines (27 loc) · 697 Bytes
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
dist: trusty
sudo: required
language: node_js
node_js:
- "8"
services:
- mongodb
cache:
directories:
- ./node_modules
before_install:
- "curl -L https://raw.githubusercontent.com/arunoda/travis-ci-meteor-packages/master/configure.sh | /bin/sh"
- rm -rf node_modules
install:
- git clean -fXd
- npm install -g concurrently
- npm install
- meteor npm rebuild
- npm run meteor-client:bundle
- npm run api:reset
before_script:
- "export PATH=$HOME/.meteor:$PATH"
script:
# Use Chromium instead of Chrome.
- export CHROME_BIN=chromium-browser
- npm run test
- concurrently "npm run start" "npm run api" "sleep 200; npm run e2e" --kill-others --success first