fpm/.travis.yml

44 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2016-04-08 16:35:34 +08:00
os:
- linux
- dist: xenial
- dist: bionic
2017-12-05 05:51:39 +08:00
- osx
2013-05-27 23:23:35 +08:00
language: ruby
sudo: false
2013-05-27 23:23:35 +08:00
rvm:
2017-06-03 07:25:41 +08:00
- 2.3.1
- 2.2.5
- 2.3.3
2017-06-03 07:25:41 +08:00
- 2.4.0
- 2.5.1
2019-02-04 07:50:42 +08:00
- 2.6.0
- 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
- 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
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which virtualenv || pip install --user virtualenv ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then which virtualenv-tools || pip install --user virtualenv virtualenv-tools ; fi
- |
export PATH="/Users/travis/Library/Python/2.7/bin:${PATH}"
virtualenv ${HOME}/.venv
script: source ${HOME}/.venv/bin/activate && PATH=${PATH}:${HOME}/.local/bin bundle exec rspec
addons:
apt:
packages:
2016-04-08 04:43:15 +08:00
- bsdtar
- rpm
- lintian
2019-02-23 14:57:23 +08:00
- python3-setuptools
- python3-pip
- squashfs-tools
2019-02-23 14:55:46 +08:00
- perl