-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
49 lines (41 loc) · 1.14 KB
/
wercker.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
box: wercker-labs/docker
build:
steps:
- script:
name: "install packages"
code: |
sudo apt-get update
sudo apt-get install -y python curl make
- script:
name: "install nodejs"
code: |
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y nodejs
- script:
name: "install fig"
code: >
if [ -f $WERCKER_CACHE_DIR/fig ]; then
debug "found fig in cache";
else
debug "fig not in cache, downloading";
curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > $WERCKER_CACHE_DIR/fig;
fi;
sudo install -v -m 755 $WERCKER_CACHE_DIR/fig /usr/local/bin/fig;
- script:
name: echo dependency versions
code: |
python --version
node -v
npm -v
docker -v
fig --version
- npm-install
- script:
name: make
code: make
- npm-test
- heroku-deploy:
key-name: HEROKU_KEY
- script:
name: run sauce tests
code: make saucetest