-
-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (28 loc) Β· 777 Bytes
/
.travis.yml
File metadata and controls
32 lines (28 loc) Β· 777 Bytes
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
git:
depth: 5
language: minimal
services:
- docker
matrix:
include:
- env:
- task=gixy
before_script:
- docker pull yandex/gixy
script:
- docker run --rm -v $PWD/nginx:/etc/nginx yandex/gixy /etc/nginx/nginx.conf
- env:
- task=hadolint
before_script:
- docker pull hadolint/hadolint
script:
- docker run --rm -i -v $PWD/.hadolint.yml:/.hadolint.yml hadolint/hadolint < Dockerfile
- env:
- task="Docker build"
if: branch == master && (type != pull_request)
script:
- docker build --build-arg MAXMIND_LICENSE_KEY="$MAXMIND_LICENSE_KEY" -t ipinfo.tw:$TRAVIS_COMMIT .
after_success:
- docker system prune -f
- docker images