Skip to content

Commit

Permalink
Fixed travis.yaml
Browse files Browse the repository at this point in the history
Seriously, this time it should work
  • Loading branch information
HadesArchitect authored Aug 26, 2019
1 parent 3074400 commit 0bc7f0d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
dist: xenial # required for Python >= 3.7
language: python
python:
- "3.7"
language: generic

# Build the docker image
script:
Expand All @@ -13,7 +11,7 @@ after_success:
- docker tag ${TRAVIS_COMMIT} killrvideo/killrvideo-python:${TRAVIS_TAG}
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker push killrvideo/killrvideo-python:${TRAVIS_TAG}
- "[ \"$(git tag --sort=-v:refname | grep -E '^\\d+.\\d+.\\d+$' | head -n1)\" == \"$TRAVIS_TAG\" ] && { docker tag ${TRAVIS_COMMIT} killrvideo/killrvideo-python:latest; docker push killrvideo/killrvideo-python:latest; }"
- "[ \"$(git tag --sort=-v:refname | grep -P \"^\\d+.\\d+.\\d+$\" | head -n1)\" == \"$TRAVIS_TAG\" ] && { docker tag ${TRAVIS_COMMIT} killrvideo/killrvideo-python:latest; docker push killrvideo/killrvideo-python:latest; }"
# Sudo required for doing docker build
sudo: required
services:
Expand Down

0 comments on commit 0bc7f0d

Please sign in to comment.