forked from F5Networks/f5-ansible
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (30 loc) · 858 Bytes
/
.travis.yml
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
33
34
35
36
sudo: required
language: python
python:
- "2.7"
- "3.5"
- "3.6"
before_install:
# NOTE: this is probably not required since you're not trying to pull or
# push from a GitHub repo
- git config --global user.email "[email protected]"
- git config --global user.name "Travis F5 Openstack"
install:
- travis_retry sudo apt-get update
- travis_retry sudo apt-get -y install libffi-dev libssl-dev
- travis_retry pip install --upgrade setuptools pip
- travis_retry pip install cffi
- travis_retry pip install --upgrade -r requirements.test.txt
script:
- make all-tests
- make docker-test
deploy:
provider: script
skip_cleanup: true
on:
branch: devel
# only deploy to clouddocs after one build; python 3.5 chosen arbitrarily
python: '3.5'
repo: F5Networks/f5-ansible
script:
- make docker-deploy