-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (43 loc) · 1.08 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
## Note, "[ci skio]" or "[skip ci]" within a commit message _should_
## cause Travis Continuous Integration to skip the following
## Clone settings for repository
git:
depth: 10
quite: true
submodules: true
## Attempt to limit environment to only what is required
language: bash
matrix:
fast_finish: true
## Thanks be to, https://docs.travis-ci.com/user/multi-os/
include:
- name: 'Linux Xenial'
os: linux
dist: xenial
branches:
only:
- main
## Allow building of 'test-' previxed branches
- /^(?i:test)-.*$/
except:
- example
#
# Do the things
#
## Install and setup servers this project makes use of
before_install:
- sudo apt-get install -yqq shellcheck tor
# install:
before_script:
- shellcheck -x .travis-ci/tests.sh
- shellcheck -x torrific-curl
- sudo make config
- sudo make install
script:
- ./.travis-ci/tests.sh
after_failure:
- printf 'after_failure asks -> Where did %s go wrong?\n' "${USER}"
after_success:
- printf 'after_success -> Tests passed!\n'
after_script:
- echo 'after_script -> Is it all good?!'