Skip to content

Commit

Permalink
template experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
s1cyan committed Apr 21, 2020
1 parent a5ccd3b commit c544023
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ test-template: &test-template
<<: *install-controller
script: make test

linux-deploy-template: &linux-deploy-template
stage: deploy
os: linux
deploy:
provider: releases
skip_cleanup: true
api_key: "$GITHUB_OAUTH_TOKEN"
file: package/*
file_glob: true
on:
branch: master
tags: true

jobs:
include:
- name: Lint
Expand Down Expand Up @@ -85,9 +98,9 @@ jobs:
on:
branch: master
tags: true
- name: Deploy Release P/Z
- name: Deploy Release P
stage: deploy
os: linux
os: linux
arch: ppc64le
script:
- make ARCH=ppc64le VERSION=${TRAVIS_TAG} package-pz
Expand All @@ -100,4 +113,9 @@ jobs:
file_glob: true
on:
branch: master
tags: true
tags: true
- <<: &linux-deploy-template
arch: s390x
script:
- make ARCH=s390x VERSION=${TRAVIS_TAG} package-pz
- make deploy

0 comments on commit c544023

Please sign in to comment.