fix(ci): travis jobs
This commit is contained in:
parent
c63dcb1dd7
commit
3a116c2f34
27
.travis.yml
27
.travis.yml
@ -8,21 +8,26 @@ stages:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- name: "Compile golang binaries inside a container image"
|
- name: build-linux-amd64
|
||||||
stage: build
|
stage: build
|
||||||
script: make container-run/all
|
script: make container-run/bin/linux/amd64/dhdu
|
||||||
# - name: "Test golang binaries inside a container image"
|
|
||||||
|
- name: build-linux-arm5
|
||||||
|
stage: build
|
||||||
|
script: make container-run/bin/linux/arm/5/dhdu
|
||||||
|
|
||||||
|
- name: build-linux-arm7
|
||||||
|
stage: build
|
||||||
|
script: make container-run/bin/linux/arm/7/dhdu
|
||||||
|
|
||||||
|
# - name: test-linux-amd64
|
||||||
# stage: test
|
# stage: test
|
||||||
# script: make container-run/test
|
# script: make container-run/test/unit
|
||||||
# after_script: bash <(curl -s https://codecov.io/bash)
|
# after_script: bash <(curl -s https://codecov.io/bash)
|
||||||
- name: "Deploy container-image tagged as latest"
|
|
||||||
|
- name: deploy-container-amd64
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script: make container-image/push
|
script: make container-image/push/amd64
|
||||||
- name: "Deploy container-image tagged with a git tag"
|
|
||||||
stage: deploy
|
|
||||||
script: make container-image/push VERSION=${TRAVIS_TAG} CONTAINER_IMAGE_VERSION=${TRAVIS_TAG}
|
|
||||||
on:
|
|
||||||
tags: true
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
Loading…
Reference in New Issue
Block a user