forked from MG-RAST/Shock
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
24 lines (22 loc) · 2.64 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: bash
sudo: required
services:
- docker
before_install:
- docker pull kbase/kb_minideb:jessie
- docker pull kbase/kb_go:latest
before_script:
- sudo apt-get update && sudo apt-get install git
script:
- make docker_image
after_success:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=kbase/kb_shock
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- docker tag $REPO:$TRAVIS_COMMIT $REPO:$TAG
- if [ "$TAG" == "latest" ] || [ "$TAG" == "develop" ] ; then docker push $REPO:$TAG ; fi
env:
global:
- secure: jlEmYcS0Lz1hh44UR6ycLGgzc8NWZF+IGUXKpmZfRcLah7j47grRDYZ8zTlERLHOoxJMr0QFIkO8G1DflrW1OaSmo9Fd55RC8Yz30tei0DJRkxviV/GJXJRxhk3XuSOVYVXLOPH4B+P6+oxULEyQ7kJUr80TB3yv6CBcVJ3wk8XYwjm9kDcsu54uxrBmDz53/zXcD8w4SO3WHRC4x1/H5bvFNBapNhgSrcFvbQy6NFovsS/kr+GspVDjgLSH17n34c3sLdpU1g28ODwfAvfMq4GyCeOYds3ilIwbVWGbVrnFReVJMtvVhpFqf4z792thoFoOjXEkAkRPYsLsSBSJnN9xA81XYPFbXpYCXj3MMwsc//xbD4AkUssbppAWZzpdYGtDi/AevhBdIeyrJ4NVDZmqzR7Cl47q8LY1YK3xFgiEnTC2yhNvwszY7l8SO9FOuMbGh79b+lJqJXVvi18uWcrRBJ1eyc3qBj1niC8Pp+3SONCQxnxACAwsO+lmn7YqdlCPV0Q31uUo6ghqbXaCBUX7mfG9I3rhFBf6G/UtqfhNJOPE0mPSfsI3cZhgXHQ89YJRsVOpRuBNdGEkJ+wImD8YZCh0Qxhme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