mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-04-19 18:36:43 +00:00
Simplify Travis CI
This commit is contained in:
parent
f845e12a29
commit
aa9e2bd371
@ -4,20 +4,15 @@ language: go
|
|||||||
|
|
||||||
go:
|
go:
|
||||||
- "1.11.x"
|
- "1.11.x"
|
||||||
- master
|
|
||||||
|
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
before_install:
|
|
||||||
- sudo apt update -y
|
|
||||||
- sudo apt install golang-go -y
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test .
|
- go test .
|
||||||
- docker build -t terorie/od-database-crawler
|
- docker build -t terorie/od-database-crawler .
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- if [[ "$TRAVIS_BRANCH" == "stable" ]]; then
|
- if [[ "$TRAVIS_BRANCH" == "stable" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user