Skip to content

Commit 2a29275

Browse files
authored
Update .travis.yml
1 parent 29e0793 commit 2a29275

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.travis.yml

+14
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1+
sudo: required
2+
13
language: node_js
24
node_js:
35
- "6"
6+
47
services:
58
- mongodb
9+
- docker
10+
11+
env:
12+
DOCKER_COMPOSE_VERSION: 1.6.0
13+
14+
before_install:
15+
- sudo rm /usr/local/bin/docker-compose
16+
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
17+
- chmod +x docker-compose
18+
- sudo mv docker-compose /usr/local/bin
19+
620
after_success:
721
- if [ "$TRAVIS_BRANCH" == "master" ]; then
822
docker build -t nikriek/projectsecure-client:latest --build-arg API_URL=$API_URL . ;

0 commit comments

Comments
 (0)