2016-04-08 16:35:34 +08:00
|
|
|
os:
|
|
|
|
|
- linux
|
2021-01-20 05:17:24 +08:00
|
|
|
- dist: xenial
|
|
|
|
|
- dist: bionic
|
2017-12-05 05:51:39 +08:00
|
|
|
- osx
|
2013-05-27 23:23:35 +08:00
|
|
|
language: ruby
|
2016-04-08 03:36:11 +08:00
|
|
|
sudo: false
|
2013-05-27 23:23:35 +08:00
|
|
|
rvm:
|
2017-06-03 07:25:41 +08:00
|
|
|
- 2.3.1
|
2017-03-07 14:12:13 +08:00
|
|
|
- 2.2.5
|
|
|
|
|
- 2.3.3
|
2017-06-03 07:25:41 +08:00
|
|
|
- 2.4.0
|
2018-10-16 12:14:04 +08:00
|
|
|
- 2.5.1
|
2019-02-04 07:50:42 +08:00
|
|
|
- 2.6.0
|
2021-01-20 05:17:24 +08:00
|
|
|
- 2.7.1
|
2017-12-07 23:14:07 +08:00
|
|
|
matrix:
|
|
|
|
|
exclude:
|
|
|
|
|
- os: osx
|
|
|
|
|
rvm: 1.9.3
|
|
|
|
|
- os: osx
|
|
|
|
|
rvm: 2.0.0
|
2016-04-08 17:15:18 +08:00
|
|
|
before_install:
|
2017-12-05 23:03:46 +08:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew bundle; fi
|
2016-04-08 18:25:51 +08:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which dpkg-deb || 'dpkg-deb not found'; fi
|
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which lintian || echo 'lintian not found'; fi
|
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which python || brew install python; fi
|
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which easy_install || echo 'easy_install not found'; fi
|
2017-04-21 23:33:43 +08:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which virtualenv || pip install --user virtualenv ; fi
|
2016-10-15 11:51:25 +08:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then which virtualenv-tools || pip install --user virtualenv virtualenv-tools ; fi
|
2019-02-24 12:27:20 +08:00
|
|
|
- |
|
|
|
|
|
export PATH="/Users/travis/Library/Python/2.7/bin:${PATH}"
|
|
|
|
|
virtualenv ${HOME}/.venv
|
2017-04-21 23:33:43 +08:00
|
|
|
script: source ${HOME}/.venv/bin/activate && PATH=${PATH}:${HOME}/.local/bin bundle exec rspec
|
2016-04-08 03:36:11 +08:00
|
|
|
addons:
|
|
|
|
|
apt:
|
|
|
|
|
packages:
|
2016-04-08 04:43:15 +08:00
|
|
|
- bsdtar
|
2016-04-08 03:36:11 +08:00
|
|
|
- rpm
|
|
|
|
|
- lintian
|
2019-02-23 14:57:23 +08:00
|
|
|
- python3-setuptools
|
|
|
|
|
- python3-pip
|
2018-10-17 06:59:17 +08:00
|
|
|
- squashfs-tools
|
2019-02-23 14:55:46 +08:00
|
|
|
- perl
|