mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-11 08:31:58 -06:00
Change some environment variables for easier handling.
This commit is contained in:
parent
88692f0058
commit
58ec0c4add
@ -1,13 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo $TRAVIS_DIST
|
||||
echo "I am building channel ${CHANNEL} for version ${VERSION} on architecture ${ARCH}."
|
||||
|
||||
echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
|
||||
mkdir $HOME/.docker
|
||||
touch $HOME/.docker/config.json
|
||||
echo '{"experimental":"enabled"}' | sudo tee $HOME/.docker/config.json
|
||||
sudo service docker restart
|
||||
docker version -f '{{.Server.Experimental}}'
|
||||
docker version
|
||||
|
||||
# build everything
|
||||
.deploy/docker/build-$ARCH.sh
|
||||
|
11
.travis.yml
11
.travis.yml
@ -10,21 +10,26 @@ branches:
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
- VERSION=4.8.2
|
||||
- CHANNEL=stable
|
||||
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- dist: xenial
|
||||
arch: amd64
|
||||
env: ARCH=amd64 VERSION=4.8.2
|
||||
env: ARCH=amd64
|
||||
stage: build
|
||||
script: ./.deploy/docker/travis.sh
|
||||
- dist: xenial
|
||||
arch: amd64
|
||||
env: ARCH=arm VERSION=4.8.2
|
||||
env: ARCH=arm
|
||||
stage: build
|
||||
script: ./.deploy/docker/travis.sh
|
||||
- dist: xenial
|
||||
arch: arm64
|
||||
env: ARCH=arm64 VERSION=4.8.2
|
||||
env: ARCH=arm64
|
||||
stage: build
|
||||
script: ./.deploy/docker/travis.sh
|
||||
- dist: xenial
|
||||
|
Loading…
Reference in New Issue
Block a user