forked from steeve/libtorrent-go
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
35 lines (30 loc) · 629 Bytes
/
.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
sudo: required
language: go
go:
- "1.11"
env:
- PLATFORM=android-arm
- PLATFORM=android-arm64
- PLATFORM=android-x64
- PLATFORM=android-x86
- PLATFORM=darwin-x64
- PLATFORM=linux-arm
- PLATFORM=linux-armv7
- PLATFORM=linux-arm64
- PLATFORM=linux-x64
- PLATFORM=linux-x86
- PLATFORM=windows-x64
- PLATFORM=windows-x86
services:
- docker
before_install:
- make pull
install:
- make env
script:
- make $PLATFORM
- |
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
make push
fi