-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
32 lines (32 loc) · 2.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
dist: bionic
language: generic
sudo: required
env:
global:
- IMAGE_NAME=yyupw/trpl-2nd-pdf
- REGISTRY_USER=yyupw
- DOCKER_COMPOSE_VERSION=1.24.1
- secure: od1rDGhqIFkVysdJdZJwiOJSrzJPnbr5eGNYN6fw/LdD4Nk+dNSbLiVY+BnZ/ytOuccUX9wVi+7WPn4Gw0EV8f8k4KlmNpQVuV80oeE85iov7hfigoeF8bs40xVRE28HxD3B/rGtdn4g0VYp4Fd8xbl8yp7hRMNgaVg7LArMW7d65726qRE0aFylBJjdpG1OR3/TvAbJ0BRtbkBFXE0sufaKUpCuMqjuKo6U7tcCVDuq4ZWDfQwHnbyoS3kO2aAujplcUrkIYClFAmjwweP4cYIBjS88O6Tuu4oe41UqI4mISx4/2ZCkGcqeh8nYo/YvL5xHXjDRCoWg3Q6febMKsSnK29i5JYYmpmhXSLxzTpwJMqisx+8pyPSqCgPBwIX813w7XCCvNejxrkm56tOvs2J4MeQ05SghWRyLXK4TGr/Uy0FRVYej5yw8qnzrMWo/CwiBtl3grYh6CX7VJCzP2TdEeynILqB4Mht74dDWg2N9ZgqM9bdDMjDPZsI/hogowgCxqg0mMzjmw4E4fH7m44vSS3k7yeTN1aclfz2hIiHscFC44ef5n4xqg3twBclQ52XQa9CUH60lmqMSBNX1z3o8ke+OZJtTKxXv/GftA9Bxy9z11jXu4DAPVfhLX8OZHnF25SpQJQHpILN+evAmUFDs7kptgx9V4DjHZ6VRbV8=
- secure: 2vPnRh5Ko8HXR0iL0KVPOQUYlWoZCfk4uHXDjOt38KHz4QB9gpIr+vXUq65YVbRXV4+X6tfwHSdYWP/mA0dQUvRkfzTtko6pjpdwqO7nm6NbS3iH1DEgxhO6pN0eO9WMynAF9bzGzBeHuTbCTH+MqFMgUH/ROtK0o91ofWRiqkIhDvUZ1YxCElEFLpZ0n6Ml49+zshGvDng3g9+dyW3BWt9fY3gdHdIypEH3xuxP4KjnUTrmmv7s+QiFL1IWd6+ucVTCxKaTArE4HHsnbTQxZ8moNW/I3BCrwPgJbbSxf/vGF2RFToihHph1m8oFHzv7hPL/FDgmlNkgJRMRFFLOKFCNUXBI5VP/OgqICmdTB/vV75iedlOxtGek2mczSKvNOofm1220AGOLKS4L4srI6R08+TCbyqxMglqfkjMyARb2WpAJaOnnF+hEPAhOTC534zP6Ok+f3sw39kvpvYNOPXtwLpupxQ546QPH7YIxyE3hZayvK3atXrfXfRb9m/0tNTkxYTEelNkKQkh7VHfzAsA497ytxpmZixoS3vnro0uxJxAf8e2g93Zsh6B4VDur2nlmd2UunvR7Um6gwZCeAYSHUb/+Wmp612/A6iDEobJBVPS8h0oSxX2y0Z+l38W80Q/9pXPymzbOaVEv4zeMVjJUaQFHJwBc0xyvlqVKsU0=
services:
- docker
branches:
only:
- master
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 trpl-pdf-compile
after_success:
- ./travis/deploy_image.sh
- ./travis/deploy_pdf.sh
after_failure:
- cat book.log