forked from lukecyca/travis-docker-example
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtravis-docker.yml
34 lines (27 loc) · 1.08 KB
/
travis-docker.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
sudo: required
env:
global:
- DOCKER_VERSION=1.9.1 # Install Docker version 1.7.1
- DOCKER_VERSION=get.docker.com # Install Docker using get.docker.com (may break)
- BRANCH=stable # Use 'stable' branch
- QUIET=0 # Less verbose logging
- UML_FIG=0 # Don't install fig
- UML_DOCKERCOMPOSE=0 # Install docker-compose
before_install:
- cd ${TRAVIS_BUILD_DIR}
- git clone https://github.com/guruvan/gitian-docker
- cd gitian-docker
- echo "GD_BUILD_URL=https://github.com/mazacoin/mazacoin-new" > maza-10.2.env
- echo "GD_BUILD_COMMIT=10.2" >> maza-10.2.env
- echo "GD_BUILD_COIN=maza" >> maza-10.2.env
- echo "GD_HOST_OSXSDK=${TRAVIS_BUILD_DIR}/gitian-docker/MacOSX10.9.sdk.tar.gz" >> maza-10.2.env
- echo "GD_BUILD_OSXSDK=MacOSX10.9.sdk.tar.gz" >> maza-10.2.env
- wget https://s3-us-west-2.amazonaws.com/downloads.maza.club/MacOSX10.9.sdk.tar.gz
install:
- curl -sLo - http://j.mp/install-travis-docker | sh -xe
script:
- cd ${TRAVIS_BUILD_DIR}
- cd gitian-docker
- alias docker='./run docker'
- ./build.sh maza-10.2.env
- echo "Tanks"