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

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

Loading…
Cancel
Save