forked from jorisbontje/maker-otc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (28 loc) · 1012 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
sudo: required
dist: trusty
# trusty is used to let us use docker. This isn't possible in the container
# based infrastructure. Docker is used to speed up the dapple installation,
# which can run to ~4m using npm install.
#
# The trusty infrastructure does not allow caching, unlike the container based
# default. This means waiting for npm install on each run. This may change in
# the near™ future https://github.com/travis-ci/travis-ci/issues/4997
language: node_js
node_js: "5.1"
services:
docker
git:
submodules: false
env:
- TEST=dapple
- TEST=npm
before_install:
- id
- if [ $TEST = "dapple" ]; then docker pull rainbeam/dapple-minimal && docker images; fi
- cp .travis.dapplerc $HOME/.dapplerc
install:
- if [ $TEST = "dapple" ]; then git submodule update --init --recursive; fi
- if [ $TEST = "npm" ]; then npm set progress=false && npm install; fi
script:
- if [ $TEST = "dapple" ]; then ./.travis.dapple-docker-entry test; fi
- if [ $TEST = "npm" ]; then npm test; fi