forked from HariSekhon/Dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
69 lines (55 loc) · 1.34 KB
/
.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# vim:ts=2:sts=2:sw=2:et
#
# Author: Hari Sekhon
# Date: 2014-11-29 01:02:47 +0000 (Sat, 29 Nov 2014)
#
# https://github.com/harisekhon/Dockerfiles
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
# to help improve or steer this or other code I publish
#
# http://www.linkedin.com/in/harisekhon
#
version: ~> 1.0
matrix:
include:
- os: linux
language: python
python:
- "2.7"
- os: linux
language: python
python:
- "3.7"
# GitHub Workflows has better badged stratification at a glance
# - os: linux
# dist: trusty
# language: python
# python:
# - "2.7"
# Travis CI doesn't support Python virtual envs on Mac OS X yet, workaround is to use generic and install to system python
- os: osx
language: generic
sudo: required
#env:
# - DEBUG=1
notifications:
email: false
#branches:
# only:
# - master
cache:
directories:
- .cache
- bash-tools
- pytools_checks
# avoid package checksum mismatches when installing packages
before_install:
- sudo rm -f "${TRAVIS_ROOT}/etc/apt/apt.conf.d/99-travis-apt-proxy"
- sudo rm -rf "${TRAVIS_ROOT}/var/lib/apt/lists/"*
install:
- echo nothing to install
script:
- travis_retry make test