forked from APSL/docker-thumbor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (53 loc) · 4.77 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
sudo: required
language: ruby
services:
- docker
before_install:
#- sudo apt-get -qq update
# - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION}
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
script:
- ls -lah
- ./builder
- docker-compose -f docker-compose-travis.yml up -d
- docker-compose -f docker-compose-travis.yml ps
- wget http://localhost:8091/unsafe/200x100/www.apsl.net/static/apslweb/img/content/slider/rs-slider4-img15.png
- wget http://localhost:8092/unsafe/200x100/www.apsl.net/static/apslweb/img/content/slider/rs-slider4-img15.png
- wget http://localhost:8093/unsafe/200x100/www.apsl.net/static/apslweb/img/content/slider/rs-slider4-img15.png
- wget http://localhost:8094/unsafe/200x100/www.apsl.net/static/apslweb/img/content/slider/rs-slider4-img15.png
- wget http://localhost:8095/unsafe/200x100/www.apsl.net/static/apslweb/img/content/slider/rs-slider4-img15.png
- wget http://localhost:8096/unsafe/200x100/www.apsl.net/static/apslweb/img/content/slider/rs-slider4-img15.png
- wget http://localhost:8097/unsafe/200x100/www.apsl.net/static/apslweb/img/content/slider/rs-slider4-img15.png
notifications:
email:
- gshark@gmail.com
env:
global:
- THUMBOR_VERSION=6.3.0
- secure: LSNYgDagNJrEBIZtAMXgGNaza66WniJNWVYpeZ00bxrqF2AJ/NLt9FGGvySDwJHcgqgD0SbsxD7EAefuZlBNq/68qvHFtnNZb5FoU6gjXW9Kvdlvtt6r5zcTvrPDwAlaGUi6iDnTxNd1YK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OegflXcRh9eAsBHFmXDJEkqLDs4yJ+oeMUnLyoLy24xJ1hvx41oVGbIQL0qTIikkN5i9qAU0hX8ZoBOwQN+WoffNC2+tEX0cDhTugKIg3YzHkHqYDmplCsElP8PAuCzxl0/P8W4CtHqn9F0FO+CgW3HLit9jJfHFYeA=
- secure: b1+J/WngVLdn37ubp7iJLGHY3X5j95Ewk60mYOy4FAfdb6ofK6dtOUXTGHNjqMNsZDoZShjuFvB3+Qrz5VSzx2JT/R+hgqdr08Ft8powZYUPJUOBih+mZAo1ACgxhn/jHQsp/OUkD4Qe0PGRVqva10HQP55+SINH605b9/HGQdQwGhI++kvsqLaQZVcdKtFyetF+RkY70rXAsite53zd++2FYScvsjuf0ie5BTmPTyoOs1Cq8w1/+xVSb911F5m1KIJg8Z3O1zXL1XJ2IXAHoVGxuoCeGNw61RKEMp3VGZPeX/TBvFSbQ5alShmxgS6GPAcZFsWX/Lv6CdYOWoXjDKCTfrgvoElcn8AvBoZiNDf9aegnHZooHskoA4Bi+Tj83TDoZvB1qQvLWhD/ldZl+/9gBj/f3zO8FECK+RTDeN5MNgKWs/eg8lU9D1JRYw2JkN+AADUZlJXGZiZHGQDh03rsSfb0C4LpwulZwEWCTB5s1y22WwI+1Ec+S4TajqPInojn45qUIyH0sf/JPVYpCYAbbQWugwz+rrvuv90rPYNI8m73Fv2jk5a57P5t4+UBGS6UNfq8Kyj5d/b/hRznT4lvE3hvPwRjo07C4m+hPAJgPuRnFCZhaJ4E6b9zgdgKitaz/xGiosn2O4Y2apT5mNcgbHEq1v0j+P19CxDqDHg=
#- DOCKER_VERSION=1.11.1-0~trusty
- DOCKER_COMPOSE_VERSION=1.8.0
after_success:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push apsl/thumbor:$THUMBOR_VERSION
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push apsl/thumbor:latest ; fi;
- docker push apsl/thumbor:$THUMBOR_VERSION-simd-sse4
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push apsl/thumbor:latest-simd-sse4 ; fi;
- docker push apsl/thumbor:$THUMBOR_VERSION-simd-avx2
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push apsl/thumbor:latest-simd-avx2 ; fi;
- docker push apsl/thumbor-multiprocess:$THUMBOR_VERSION
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push apsl/thumbor-multiprocess:latest ; fi;
- docker push apsl/thumbor-multiprocess:$THUMBOR_VERSION-simd-sse4
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push apsl/thumbor-multiprocess:latest-simd-sse4 ; fi;
- docker push apsl/thumbor-multiprocess:$THUMBOR_VERSION-simd-avx2
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push apsl/thumbor-multiprocess:latest-simd-avx2 ; fi;
- docker push apsl/thumbor-nginx:$THUMBOR_VERSION
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push apsl/thumbor-nginx:latest ; fi;
- docker push apsl/remotecv:$THUMBOR_VERSION
- if [ "$TRAVIS_BRANCH" == "master" ]; then docker push apsl/remotecv:latest ; fi;
- docker images -a