Skip to content

Commit dbc265c

Browse files
committed
Added ARM support to the Travis build
1 parent a282e11 commit dbc265c

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.travis.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,22 @@ services:
55
- docker
66

77
before_script:
8+
# dependencies
9+
- pip install j2cli requests
10+
- wget https://github.com/riotkit-org/ci-utils/archive/v2.0.0.zip -O /tmp/ci-utils.zip
11+
- curl "https://raw.githubusercontent.com/riotkit-org/ci-utils/master/ci-integration/travis.sh" -s | bash
12+
13+
# activate ARM builds on travis
14+
- /opt/riotkit/utils/bin/setup-travis-arm-builds
15+
16+
# authorization
817
- echo "$DOCKER_PASSWORD" | sudo docker login -u "$DOCKER_USERNAME" --password-stdin
918
- echo "$QUAY_PASSWORD" | sudo docker login -u "$QUAY_USERNAME" --password-stdin quay.io
1019

1120
jobs:
1221
include:
1322
- stage: Build recent x86_64 image
14-
script: make build ARCH=x86_64 GIT_TAG=${TRAVIS_TAG} PUSH=true
23+
script: make build_image ARCH=x86_64 GIT_TAG=${TRAVIS_TAG} PUSH=true
1524

1625
- stage: Build recent ARM image
17-
script: make build ARCH=arm GIT_TAG=${TRAVIS_TAG} PUSH=true
26+
script: make build_image ARCH=arm GIT_TAG=${TRAVIS_TAG} PUSH=true

0 commit comments

Comments
 (0)