2019-01-04 16:30:59 +00:00
|
|
|
dist: xenial
|
|
|
|
|
2016-06-16 19:34:25 +00:00
|
|
|
matrix:
|
2016-06-30 19:58:51 +00:00
|
|
|
fast_finish: true
|
2016-06-16 19:34:25 +00:00
|
|
|
include:
|
2019-03-09 23:49:45 +00:00
|
|
|
- os: windows
|
|
|
|
env: GITSECRET_DIST="windows"
|
|
|
|
sudo: required
|
|
|
|
language: sh
|
2018-07-24 16:51:02 +00:00
|
|
|
- os: linux
|
|
|
|
env: KITCHEN_REGEXP="gnupg1-alpine-latest"
|
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2016-06-16 19:34:25 +00:00
|
|
|
- os: linux
|
2018-04-22 13:26:59 +00:00
|
|
|
env: KITCHEN_REGEXP="gnupg1-debian-latest"
|
2017-11-27 23:45:19 +00:00
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2017-11-27 23:45:19 +00:00
|
|
|
- os: linux
|
2018-04-22 13:26:59 +00:00
|
|
|
env: KITCHEN_REGEXP="gnupg1-fedora-latest"
|
2016-06-16 19:34:25 +00:00
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2016-06-16 19:34:25 +00:00
|
|
|
- os: linux
|
2018-04-22 13:18:48 +00:00
|
|
|
env: KITCHEN_REGEXP="gnupg1-ubuntu-latest"
|
2016-06-16 19:34:25 +00:00
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2016-06-16 19:34:25 +00:00
|
|
|
- os: linux
|
2018-04-22 13:18:48 +00:00
|
|
|
env: KITCHEN_REGEXP="gnupg1-ubuntu-rolling"
|
2016-06-16 19:34:25 +00:00
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2018-07-24 16:51:02 +00:00
|
|
|
- os: linux
|
|
|
|
env: KITCHEN_REGEXP="gnupg2-alpine-latest"
|
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2019-01-04 21:53:13 +00:00
|
|
|
# distribute deb on this successful test
|
2017-11-27 23:45:19 +00:00
|
|
|
- os: linux
|
2018-04-19 06:28:28 +00:00
|
|
|
env: KITCHEN_REGEXP="gnupg2-debian-latest"; GITSECRET_DIST="deb"
|
2017-11-10 18:31:22 +00:00
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2019-01-04 21:53:13 +00:00
|
|
|
# distribute rpm on this successful test
|
2016-06-16 19:34:25 +00:00
|
|
|
- os: linux
|
2018-04-19 06:28:28 +00:00
|
|
|
env: KITCHEN_REGEXP="gnupg2-fedora-latest"; GITSECRET_DIST="rpm"
|
2017-09-27 22:30:54 +00:00
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
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
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2017-09-27 22:30:54 +00:00
|
|
|
- os: linux
|
2018-04-22 13:18:48 +00:00
|
|
|
env: KITCHEN_REGEXP="gnupg2-ubuntu-rolling"
|
2017-09-27 22:30:54 +00:00
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
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
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2017-09-27 22:30:54 +00:00
|
|
|
- os: linux
|
2018-04-22 13:18:48 +00:00
|
|
|
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
|
2019-03-09 18:14:44 +00:00
|
|
|
rvm: 2.6
|
|
|
|
- os: osx
|
|
|
|
env: GITSECRET_DIST="brew"
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2016-02-21 13:26:17 +00:00
|
|
|
|
2019-01-04 17:08:58 +00:00
|
|
|
before_install:
|
2019-03-09 23:49:45 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then gem update --system && gem install bundler; fi
|
2019-01-04 17:08:58 +00:00
|
|
|
|
2016-06-16 19:34:25 +00:00
|
|
|
before_script:
|
|
|
|
- chmod +x ".ci/before_script.sh" && ".ci/before_script.sh"
|
2016-02-21 13:26:17 +00:00
|
|
|
|
|
|
|
script:
|
2016-06-16 19:34:25 +00:00
|
|
|
- chmod +x ".ci/script.sh" && ".ci/script.sh"
|
|
|
|
|
|
|
|
before_deploy:
|
|
|
|
- chmod +x ".ci/before_deploy.sh" && ".ci/before_deploy.sh"
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
- provider: bintray
|
2018-06-09 04:55:50 +00:00
|
|
|
skip_cleanup: true
|
2016-06-16 19:34:25 +00:00
|
|
|
on:
|
2018-06-20 06:11:36 +00:00
|
|
|
all_branches: true
|
|
|
|
tag: true
|
|
|
|
condition: "$TRAVIS_TAG =~ ^v.*$ && $GITSECRET_DIST == deb"
|
2016-06-16 19:34:25 +00:00
|
|
|
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
|
2016-06-16 19:34:25 +00:00
|
|
|
on:
|
2018-06-20 06:11:36 +00:00
|
|
|
all_branches: true
|
|
|
|
tag: true
|
|
|
|
condition: "$TRAVIS_TAG =~ ^v.*$ && $GITSECRET_DIST == rpm"
|
2016-06-16 19:34:25 +00:00
|
|
|
file: "build/rpm_descriptor.json"
|
|
|
|
user: "sobolevn"
|
|
|
|
key: "$BINTRAY_API_KEY"
|
|
|
|
passphrase: "$BINTRAY_GPG_PASS"
|
2016-02-21 13:26:17 +00:00
|
|
|
|
2017-03-27 18:14:25 +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
|
2019-01-04 16:30:59 +00:00
|
|
|
on_failure: change
|