commit 1dc7ee7ac695c2668813f03e7dc1e8dc71a5edf7 parent 068b6acf792d0acdc861601322e70b7d99a6842a Author: SomberNight <somber.night@protonmail.com> Date: Fri, 29 Jun 2018 20:20:30 +0200 travis builds windows binaries in docker Diffstat:
M | .travis.yml | | | 16 | +++++++--------- |
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -24,18 +24,16 @@ jobs: include: - stage: binary builds sudo: true + language: c + python: false env: - TARGET_OS=Windows - python: 3.6 + services: + - docker install: - - sudo dpkg --add-architecture i386 - - wget -nc https://dl.winehq.org/wine-builds/Release.key - - sudo apt-key add Release.key - - sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ - - sudo apt-get update -qq - - sudo apt-get install -qq winehq-stable dirmngr gnupg2 p7zip-full mingw-w64 - before_script: ls -lah /tmp/electrum-build - script: ./contrib/build-wine/build.sh $TRAVIS_COMMIT + - sudo docker build --no-cache -t electrum-wine-builder-img ./contrib/build-wine/docker/ + script: + - sudo docker run --name electrum-wine-builder-cont -v $PWD:/opt/electrum --rm --workdir /opt/electrum/contrib/build-wine electrum-wine-builder-img ./build.sh $TRAVIS_COMMIT after_success: true - os: osx language: c