git-secret/.travis.yml

144 lines
3.5 KiB
YAML
Raw Normal View History

dist: xenial
matrix:
2016-06-30 19:58:51 +00:00
fast_finish: true
include:
#- os: windows
# env: GITSECRET_DIST="windows"
# sudo: required
# language: sh
- os: osx
env: GITSECRET_DIST="brew"
sudo: required
language: shell
#language: ruby
#rvm: 2.6
- os: linux
env: KITCHEN_REGEXP="gnupg1-alpine-latest"
services: docker
sudo: required
language: ruby
rvm: 2.6
- os: linux
2018-04-22 13:26:59 +00:00
env: KITCHEN_REGEXP="gnupg1-debian-latest"
services: docker
sudo: required
language: ruby
rvm: 2.6
- os: linux
2018-04-22 13:26:59 +00:00
env: KITCHEN_REGEXP="gnupg1-fedora-latest"
services: docker
sudo: required
language: ruby
rvm: 2.6
- os: linux
env: KITCHEN_REGEXP="gnupg1-ubuntu-latest"
services: docker
sudo: required
language: ruby
rvm: 2.6
- os: linux
env: KITCHEN_REGEXP="gnupg1-ubuntu-rolling"
services: docker
sudo: required
language: ruby
rvm: 2.6
- os: linux
env: KITCHEN_REGEXP="gnupg2-alpine-latest"
services: docker
sudo: required
language: ruby
rvm: 2.6
2019-01-04 21:53:13 +00:00
# distribute deb on this successful test
- os: linux
env: KITCHEN_REGEXP="gnupg2-debian-latest"; GITSECRET_DIST="deb"
services: docker
sudo: required
language: ruby
rvm: 2.6
2019-01-04 21:53:13 +00:00
# distribute rpm on this successful test
- os: linux
env: KITCHEN_REGEXP="gnupg2-fedora-latest"; GITSECRET_DIST="rpm"
2017-09-27 22:30:54 +00:00
services: docker
sudo: required
language: ruby
rvm: 2.6
2017-09-27 22:30:54 +00:00
- os: linux
2019-01-04 21:53:13 +00:00
env: KITCHEN_REGEXP="gnupg2-ubuntu-latest"
2017-09-27 22:30:54 +00:00
services: docker
sudo: required
language: ruby
rvm: 2.6
2017-09-27 22:30:54 +00:00
- os: linux
env: KITCHEN_REGEXP="gnupg2-ubuntu-rolling"
2017-09-27 22:30:54 +00:00
services: docker
sudo: required
language: ruby
rvm: 2.6
2016-07-02 13:18:53 +00:00
- os: linux
2019-01-04 21:53:13 +00:00
env: KITCHEN_REGEXP="gnupg-git-fedora-latest"
services: docker
sudo: required
language: ruby
rvm: 2.6
- os: linux
env: KITCHEN_REGEXP="gnupg-git-ubuntu-latest"
2017-09-27 22:30:54 +00:00
services: docker
2016-07-02 13:18:53 +00:00
sudo: required
language: ruby
rvm: 2.6
2017-09-27 22:30:54 +00:00
- os: linux
env: KITCHEN_REGEXP="gnupg-git-ubuntu-rolling"
2017-09-27 22:30:54 +00:00
services: docker
2016-07-02 13:18:53 +00:00
sudo: required
language: ruby
rvm: 2.6
2016-02-21 13:26:17 +00:00
2019-01-04 17:08:58 +00:00
before_install:
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then gem update --system && gem install bundler; fi
2019-01-04 17:08:58 +00:00
before_script:
- chmod +x ".ci/before_script.sh" && ".ci/before_script.sh"
2016-02-21 13:26:17 +00:00
script:
- chmod +x ".ci/script.sh" && ".ci/script.sh"
before_deploy:
2019-03-17 16:23:34 +00:00
- chmod +x ".ci/before_deploy.sh" && ".ci/before_deploy.sh" && chmod +x ".ci/github_release_script.sh"
deploy:
- provider: bintray
skip_cleanup: true
on:
all_branches: true
tag: true
condition: "$TRAVIS_TAG =~ ^v.*$ && $GITSECRET_DIST == deb"
file: "build/deb_descriptor.json"
user: "sobolevn"
key: "$BINTRAY_API_KEY"
passphrase: "$BINTRAY_GPG_PASS"
- provider: bintray
2018-06-09 09:58:26 +00:00
skip_cleanup: true
on:
all_branches: true
tag: true
condition: "$TRAVIS_TAG =~ ^v.*$ && $GITSECRET_DIST == rpm"
file: "build/rpm_descriptor.json"
user: "sobolevn"
key: "$BINTRAY_API_KEY"
passphrase: "$BINTRAY_GPG_PASS"
2019-03-17 16:23:34 +00:00
- provider: script
script: bash .ci/github_release_script.sh
on:
all_branches: true
tag: true
condition: "$TRAVIS_TAG =~ ^v.*$ && $GITSECRET_DIST == rpm"
2016-02-21 13:26:17 +00:00
after_deploy:
- chmod +x ".ci/after_deploy.sh" && ".ci/after_deploy.sh"
2016-02-21 13:26:17 +00:00
notifications:
email:
on_success: never
on_failure: change