From 59b21f0de708827b1e35faa44c0b15b92cf6d93a Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sat, 26 Jan 2019 17:44:49 +0200 Subject: [PATCH] remove redundant things from CI configuration --- .travis.yml | 21 +++++---------------- Rakefile | 2 +- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index d7501b49f..3a7737342 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,20 +4,9 @@ cache: bundler services: docker before_script: mkdir debs && chmod 777 debs env: - - TRAVIS_ARCH=aarch64 - - TRAVIS_ARCH=arm - - TRAVIS_ARCH=i686 - - TRAVIS_ARCH=x86_64 + matrix: + - ARGS="-i -a aarch64" + - ARGS="-i -a arm" + - ARGS="-i -a i686" + - ARGS="-i -a x86_64" script: bundle exec rake build["${ARGS}"] -jobs: - include: - - stage: Build aarch64 - env: ARGS="-q -a aarch64" - - env: ARGS="-q -i -a aarch64" - - stage: Build arm, i686, & x86_64 - env: ARGS="-q -a arm" - - env: ARGS="-q -a i686" - - env: ARGS="-q -a x86_64" - - env: ARGS="-q -i -a arm" - - env: ARGS="-q -i -a i686" - - env: ARGS="-q -i -a x86_64" diff --git a/Rakefile b/Rakefile index 08764a36b..408d0ece3 100644 --- a/Rakefile +++ b/Rakefile @@ -20,7 +20,7 @@ task :build, [:options] do |t, args| puts "Building #{pkg}" begin # Start blocking build loop - PTY.spawn("./scripts/run-docker.sh ./build-package.sh #{args[:options]} -a $TRAVIS_ARCH #{pkg}") do |stdout, stdin, pid| + PTY.spawn("./scripts/run-docker.sh ./build-package.sh #{args[:options]} #{pkg}") do |stdout, stdin, pid| begin stdout.sync stdout.each { |line| print line }