forked from C2Devel/boto
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (30 loc) · 758 Bytes
/
.travis.yml
File metadata and controls
32 lines (30 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sudo: false
dist: trusty
language: python
python:
- "2.6"
- "2.7"
- "3.6"
services:
- docker
env:
- BOTO_CONFIG=/tmp/nowhere
before_install:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
echo "No pull requests can be sent to the master branch" 1>&2;
exit 1;
fi
addons:
apt:
packages:
- swig
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then travis_retry pip install -r requirements-py26.txt; fi
- travis_retry pip install -r requirements.txt
script: python tests/test.py default
jobs:
include:
- stage: rpmlint
before_install: skip
install: skip
script: make spec && docker run -v "$PWD"/python-boto.spec:/specs/python-boto.spec ubun/rpmlinter