Restore .travis.yml

Now handling auto-build over Docker Hub directly
This commit is contained in:
Richard Patel 2019-02-22 05:16:25 +01:00
parent e4d04e6a5f
commit c2acd5463f
No known key found for this signature in database
GPG Key ID: C268B2BBDA2ABECB

View File

@ -1,13 +1,5 @@
sudo: required
language: go
services:
- docker
script:
- docker build -t terorie/od-database-crawler .
after_success:
- if [[ "$TRAVIS_BRANCH" == "stable" ]]; then
docker login -u terorie -p $DOCKER_PASSWORD ;
docker push terorie/od-database-crawler ;
fi
go:
- "1.11.x"
- master