Skip to content

Commit

Permalink
Merge branch 'master' into feature/leitor-a3
Browse files Browse the repository at this point in the history
  • Loading branch information
farribeiro committed May 15, 2017
2 parents 64b0246 + 0a4db73 commit 68d8064
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services:
- docker

# before_script:
- docker-compose build
# - docker-compose build

# script:
# - docker-compose run wscef
Expand All @@ -15,9 +15,10 @@ env:

before_script:
- docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"
- export REPO=farrbeiro/wscef-docker
- export REPO=farribeiro/wscef-docker
- export COMMIT=latest
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- docker build -f Dockerfile -t $REPO:$COMMIT .
- docker-compose build
- docker tag $REPO:$COMMIT $REPO:$TAG
- docker tag $REPO:$COMMIT $REPO:travis-$TRAVIS_BUILD_NUMBER
- docker push $REPO
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: '2'
services:
wscef:
image: farribeiro/wscef-docker
build: .
devices:
- /dev/snd:/dev/snd
Expand Down

0 comments on commit 68d8064

Please sign in to comment.