-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
33 lines (27 loc) · 886 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
language: generic
env:
- DOCKER_COMPOSE_VERSION=1.22.0
services:
- docker
before_install:
- wget https://bitcoincore.org/bin/bitcoin-core-0.21.0/bitcoin-0.21.0-x86_64-linux-gnu.tar.gz
- tar xzvf bitcoin-0.21.0-x86_64-linux-gnu.tar.gz
- mv bitcoin-0.21.0/* bitcoin-core
- rm -Rf bitcoin-0.21.0
- rm -Rf bitcoin-0.21.0-x86_64-linux-gnu.tar.gz
- 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
script:
- echo "Hey from script"
- docker -v
- docker-compose -v
- docker-compose build hansel
- docker-compose build blockchain-reader
- docker-compose build lightningd
deploy:
provider: script
script: bash .travis-docker_push
on:
branch: master