-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
43 lines (43 loc) · 3.15 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
language: generic
os:
- linux
dist: trusty
sudo: required
cache:
directories:
- "$HOME/.ivy2/cache"
- "$HOME/.sbt/boot"
- "$HOME/.sbt/launchers"
services:
- docker
before_install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- 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
install:
- docker-compose pull
- docker-compose build
script:
- docker-compose up --exit-code-from scala-text-pdf-compile
before_cache:
- find $HOME/.sbt -name "*.lock" | sudo xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | sudo xargs rm
- find $HOME/.ivy2/cache -name "*SNAPSHOT*" | sudo xargs rm -rf
after_success:
- ./travis/deploy_image.sh
- ./travis/deploy_pdf.sh
after_failure:
- cat scala_text.log
env:
global:
- IMAGE_NAME=yyupw/scala-text-pdf
- REGISTRY_USER=yyupw
- DOCKER_COMPOSE_VERSION=1.21.2
- secure: XNsC3+N8hInq31CgCB+Ln+XGaTJV4icktH29Mj9/c06niFyx1swZyYGot13z5+gDMyPNazSS7v3Y/D9EcUrZCpfNYKlcciFDo83rhB/GfbIle3sp/WOA2atUgG9vbR5K3d6uJwpd7OfYy1GSH77sGBIpTgOYozO7rFQjSvT7SIkt8rjCgZnQ9+zjAY54ZtnYteKtukEfrDUet4hDjeCDhPr8QOO33juRz1S8w3dzgpsR94jvTRTGK9kSyIXozBBiwFeBTfNFtVIJTqm/HCreiTiOiDbDVP3sJsU139Q3JNJ5lPyZ7asY38VxJgT4xda9ehcCzIsa5NwvysyrdEJ89tu6Z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