-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
68 lines (57 loc) · 1.58 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
# Initial idea of repoman checks: https://github.com/mrueg/repoman-travis
# use "Trusty" as "Precise" has bash 4.2 only, which doesn't support nameref vars
sudo: required
dist: trusty
language: python
python:
- "3.4" # repoman seems to be fastest with python-3.4
#addons:
# apt:
# sources:
# - debian-sid
# packages:
# - shellcheck
git:
depth: 1
branches:
only:
- master
- dev
- /^ci\//
## env config and env-based matrix
env:
global:
## configurable variables
- OVERLAY_NAME='bentoo'
matrix:
- PORTAGE_VER="2.3.3" REPOMAN_VER="2.3.1"
# - SHELLCHECK=1
## final touches to the matrix
matrix:
fast_finish: true
# allow_failures:
# - env: SHELLCHECK=1
cache:
pip: true
directories:
- ${VIRTUAL_ENV}/lib/python${TRAVIS_PYTHON_VERSION}/site-packages/
before_cache:
- rm -v -f ${HOME}/.cache/pip/log/debug.log
# -----------------------------------------------------------------------------
before_install:
- source .travis/setup_environment.sh
install:
- .travis/run_install.sh
script:
- .travis/run_tests.sh
# after_success:
# - cd "${TRAVIS_BUILD_DIR}"
# - .travis/setup_git.sh
# -----------------------------------------------------------------------------
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/037253afb58551e81cd0
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false