-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
38 lines (29 loc) · 1.41 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
sudo: required
language: node_js
node_js:
- '0.12'
services:
- docker
git:
submodules: false
env:
global:
- DOCKER_COMPOSE_VERSION=1.5.1
- GH_REF=github.com/developmentseed/macrocosm.git
- PRODUCTION_BRANCH=master
- secure: EjP+sD6PnYinjAE+cVJSj2hihWryjgqlz80PvxV0alt0rac8wscDMo5FWvvzpddpjoy4DRUUmH+gHcUDoShAVIQJpki10IHMfd19+Udylo5rbmTnTVBxZEXxamQ/yPWnxFwCrQrTw6LuIRRoUsoY83+whUtthbxTx/U47qnauhZoAhXRcc4zhSmORrcSROZ1MUOVUIyplm6nL03wVLXIreXoZGpeLKjbEGcxkq2FA8qvRiVe1kPCYRyOnWxSMTYBDYXOjEKC43+FazaLu3rcVnOVRidksw7ibiPdJtTJc4yv5eMHWoKqcEAQOn5Z2ifFTzmVg1RL75XNYgqMDn3gD85MiB60zjpL/mZvlTo+EIR0JEcQRUKq/QrE/hhUzU7aAu7DDgk/78gZ1+XAMP0pGSTHycMHzZla+nzqolWoO5DQ8mMXLwqO4h9d16PG2nUIzvYnmg9iEUONWk7NZgmeYSMk8j3ZSJ7XdOzwdFMeISeM7WDRXu2BhswKFbTnU1Ki4+C1iQCmgW0kuPQawbTo0cej+f0QjLvAweBAEcr+zcys19x/QIleMjL1NWI3T1YJ9NwkVcTLtekoqvm7rGPmjcbduvQi5ktFtJwvUOJWE6d4cPTxSeXX3xgU34AzuNBy8V2EQniYuf9QfiQe3ACk4pbxLg+zPT9ZDmcTeFiT+cw=
before_install:
- chmod +x ./.build_scripts/docs.sh
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
script:
- docker-compose stop
- docker-compose rm -f
- docker-compose run api npm test
after_script:
- docker-compose stop
- docker-compose rm -f
after_success:
- ./.build_scripts/docs.sh