forked from ansible-community/molecule-digitalocean
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (48 loc) · 979 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
conditions: v1
dist: xenial
# Config file for automatic testing at travis-ci.org
services:
- docker
language: python
jobs:
fast_finish: true
include:
# combined env improve execution speed on travis considerably
- name: lint,py37,distros
python: "3.7"
env: TOXENV=lint,py37,distros
- name: py36
python: "3.6"
env: TOXENV=py36
- name: py35
python: "3.5"
env: TOXENV=py35
- name: py27
python: "2.7"
env: TOXENV=py27
- name: devel
python: "3.7"
env: TOXENV=devel
- stage: deploy
name: deploy
env: TOXENV=upload
if: repo == "pycontribs/pytest-molecule" AND tag IS present AND type != cron
addons: {}
services: []
install:
- pip install tox
script:
- travis_wait tox
before_cache:
- rm -rf $HOME/.cache/pip/log
cache:
directories:
- $HOME/.cache/pip
addons:
apt:
packages:
- lxc
- lxc-dev
- lxd
- lxd-client