remove redundant things from CI configuration

This commit is contained in:
Leonid Pliushch 2019-01-26 17:44:49 +02:00
parent 41b2727a74
commit 59b21f0de7
2 changed files with 6 additions and 17 deletions

View File

@ -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"

View File

@ -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 }