Browse Source

Travis CI for all architectures

android-5
Wetitpig 6 years ago
committed by Fredrik Fornwall
parent
commit
6b00e1d84d
  1. 5
      .travis.yml
  2. 2
      Rakefile

5
.travis.yml

@ -3,3 +3,8 @@ sudo: required
cache: bundler cache: bundler
services: docker services: docker
before_script: mkdir debs && chmod 777 debs before_script: mkdir debs && chmod 777 debs
env:
- TRAVIS_ARCH=aarch64
- TRAVIS_ARCH=arm
- TRAVIS_ARCH=i686
- TRAVIS_ARCH=x86_64

2
Rakefile

@ -20,7 +20,7 @@ task :build do
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 #{pkg}") do |stdout, stdin, pid| PTY.spawn("./scripts/run-docker.sh ./build-package.sh -a $TRAVIS_ARCH #{pkg}") do |stdout, stdin, pid|
begin begin
stdout.each { |line| print line } stdout.each { |line| print line }
rescue Errno::EIO rescue Errno::EIO

Loading…
Cancel
Save