Browse Source

remove redundant things from CI configuration

android-5
Leonid Plyushch 6 years ago
committed by Henrik Grimler
parent
commit
159dcec267
  1. 21
      .travis.yml
  2. 2
      Rakefile

21
.travis.yml

@ -4,20 +4,9 @@ cache: bundler
services: docker services: docker
before_script: mkdir debs && chmod 777 debs before_script: mkdir debs && chmod 777 debs
env: env:
- TRAVIS_ARCH=aarch64 matrix:
- TRAVIS_ARCH=arm - ARGS="-i -a aarch64"
- TRAVIS_ARCH=i686 - ARGS="-i -a arm"
- TRAVIS_ARCH=x86_64 - ARGS="-i -a i686"
- ARGS="-i -a x86_64"
script: bundle exec rake build["${ARGS}"] 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"

2
Rakefile

@ -20,7 +20,7 @@ task :build, [:options] do |t, args|
puts "Building #{pkg}" puts "Building #{pkg}"
begin begin
# Start blocking build loop # 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 begin
stdout.sync stdout.sync
stdout.each { |line| print line } stdout.each { |line| print line }

Loading…
Cancel
Save