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-15 17:29:25 +00:00
|
|
|
#- os: windows
|
|
|
|
# env: GITSECRET_DIST="windows"
|
|
|
|
# sudo: required
|
|
|
|
# language: sh
|
2019-03-28 11:41:07 +00:00
|
|
|
- os: osx
|
|
|
|
name: osx-with-debug-output
|
2019-08-30 13:35:47 +00:00
|
|
|
env: GITSECRET_DIST="brew"; SECRETS_TEST_VERBOSE=1
|
2019-03-28 11:41:07 +00:00
|
|
|
sudo: required
|
|
|
|
language: shell
|
|
|
|
#language: ruby
|
|
|
|
#rvm: 2.6
|
2019-03-12 19:41:54 +00:00
|
|
|
- os: osx
|
|
|
|
env: GITSECRET_DIST="brew"
|
|
|
|
sudo: required
|
|
|
|
language: shell
|
|
|
|
#language: ruby
|
|
|
|
#rvm: 2.6
|
2018-07-24 16:51:02 +00:00
|
|
|
- os: linux
|
2019-08-30 13:35:47 +00:00
|
|
|
env: KITCHEN_REGEXP="gnupg1-alpine-latest"; SECRETS_TEST_VERBOSE=1
|
2018-07-24 16:51:02 +00:00
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
2019-01-04 16:30:59 +00:00
|
|
|
rvm: 2.6
|
2019-08-16 16:42:06 +00:00
|
|
|
- os: linux
|
|
|
|
env: KITCHEN_REGEXP="gnupg1-debian-latest"
|
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
|
|
|
rvm: 2.6
|
2019-08-18 07:40:16 +00:00
|
|
|
- os: linux
|
|
|
|
env: KITCHEN_REGEXP="gnupg1-fedora-latest"
|
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
|
|
|
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
|
2019-08-16 16:42:06 +00:00
|
|
|
- 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
|
2019-08-18 07:40:16 +00:00
|
|
|
- os: linux
|
|
|
|
env: KITCHEN_REGEXP="gnupg2-fedora-latest"; GITSECRET_DIST="rpm"
|
|
|
|
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
|
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
|
2019-08-18 07:40:16 +00:00
|
|
|
- os: linux
|
|
|
|
env: KITCHEN_REGEXP="gnupg-git-fedora-latest"
|
|
|
|
services: docker
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
|
|
|
rvm: 2.6
|
2019-01-04 21:53:13 +00:00
|
|
|
- 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
|
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:
|
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"
|
2016-06-16 19:34:25 +00:00
|
|
|
|
|
|
|
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"
|
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
|
|
|
|
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
|