github.com/GregorioDiStefano/go-file-storage@v0.0.0-20161001105139-5707ab351525/.travis.yml (about) 1 language: go 2 services: 3 - docker 4 go: 5 - tip 6 env: 7 global: 8 - CONFIG_FILE=config/config.travis.yaml 9 10 before_install: 11 - mkdir files 12 - go get github.com/stretchr/testify/assert 13 - go get github.com/etcinit/speedbump/ginbump 14 - go get github.com/etcinit/speedbump 15 - go get github.com/dustin/go-humanize 16 - openssl aes-256-cbc -K $encrypted_1c5f6eb52035_key -iv $encrypted_1c5f6eb52035_iv 17 -in config/pk-APKAIWSICRWRZP4KRDWA.pem.enc -out config/pk-APKAIWSICRWRZP4KRDWA.pem -d 18 19 script: 20 - go test -v ./... 21 - go build . 22 23 after_script: 24 - docker login --email=$DOCKER_EMAIL --username=$DOCKER_USERNAME --password=$DOCKER_PASSWORD 25 - docker build -t gregdistefano/go-fileshare:latest . 26 - docker tag gregdistefano/go-fileshare:latest latest 27 - docker push gregdistefano/go-fileshare:latest