This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
39 lines (31 loc) · 3.02 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
sudo: required
services:
- docker
env:
global:
- secure: "zRH2DXTg9N+ZuXEO4oxc+j1SSowIRzmiivk6gzGRh/t8A/o4EF06iqEkjIlINKbeZmRoHgR/oXehV9dOMX5gbvbyLINf4K6fYeF255+mnmJQDJ4lWUbCEjosKK7yKUvykFdpnOoGumv18LoZYBp4+3G7LtpIQGpCRj4cZHXygPVyfheN76drbClC8BqoAC0kFd8YAU+DJnewiz6f/uChbGgHFmJFbgTdTmuBqupceEGA7uzQdfAJjO34HDBbX7u+PQnlk7fHyrazJWrBuvYNzJYxRb8SHhoo+AVT1XpY7dRcxdnFeccUyuNyQxxQzJrudcrU3d7K/CIrcMBfCa1avDJrslwCm4xfmKexKRYN6sSvABgGitTfFYd7/nyB2n1k1nEifWvFi65YXq5PTsupzFRYefRtmp5dbAkLscp4+ZUTq3iMM7ZFvfdH8Bs4ggdDKaddQEW5UG20eGQ0RTPureNDkjKE0pVj49BvICr3gpF2CoDtttYu6LOBTgW6j2C0jrNBbZjSMtHUuPj4czPLADyN6Z+r0f7hHbe+nL+A+Qz7nd+QGvKC105+92GtT22KRUuRGpdPGApJIQ1KdKKm585usODqwJhKLAhFg+6w2Cwa1R3LP00JNk5sCxeVkLOITuum9rOHMaPTujuxk5SaTY4++qrGkyy6WHl7gZ5vvA0=" # DOCKER_EMAIL
- secure: "wNs6GhLFzkX+cK0Ujw7GffErXtsW0AWDi7VQraetotAHJdl725YDRztU9PieLuM9BSb+lJbddRfP94R3IkchTPCz4zTHekr82k9okiPYjahJJhhuef9B1R0HWJXVPh3lWUsvzNC16t8JF765DdVrzLvH+59cGR8H0lUO13DUHFaOOsxKAvfhJT15BoEHiSZmKP6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TaEWNO4WxL5T50gocMG0gxPyG5sa6GJkAQndM06aLq8B1NPr9RIHK8EiMBV156Ov6IhYyqqkVptY7tfqmxH2CwEqcVqnztX160y37Y=" # DOCKER_PASS
- REPO=resolwe/bio-linux8-resolwe
- COMMIT=${TRAVIS_COMMIT::8}
language: bash
before_install:
# install Python 3 and pip
- sudo apt-get -qq update
- sudo apt-get install -y python3-pip
install:
# Docker Official Images Test Suite
- git clone https://github.com/docker-library/official-images.git ~/official-images
# docker-py (NOTE: version 1.7.2 is the latest version compatible with the
# Docker daemon currently provided by Travis CI)
- sudo pip3 install docker-py==1.7.2
script:
- docker build -t $REPO:$COMMIT .
# run some generic tests from the Docker Official Images Test Suite
- ~/official-images/test/run.sh $REPO:$COMMIT
after_success:
- ./.scripts/docker-image-size-change.py $REPO $COMMIT
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then ./.scripts/push_to_docker_hub.sh; fi
after_script:
- docker images
- docker history $REPO:$COMMIT