-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
74 lines (59 loc) · 2.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
68
69
70
71
72
73
74
# Travis CI Configuration
# https://docs.travis-ci.com
# This file is based on
# TravisCI · koalaman/shellcheck Wiki
# https://github.com/koalaman/shellcheck/wiki/TravisCI
language: bash
## Use container-based infrastructure for quicker build start-up
sudo: false
## We only support Ubuntu 14.04 and newer
dist: trusty
matrix:
fast_finish: true
git:
## EXPERIMENTAL
## Customizing the Build - Travis CI
## https://docs.travis-ci.com/user/customizing-the-build/#Git-Clone-Depth
## > Please note that if you use a depth of 1 and have a queue of jobs, Travis CI won’t build commits that are in the queue when you push a new commit.
depth: 3
## We have recursive submodules, don't fetch it automatically
submodules: false
## The Build Lifecycle
## https://docs.travis-ci.com/user/customizing-the-build/#The-Build-Lifecycle
addons:
apt:
sources:
packages:
- realpath # Merged to GNU Coreutils in Ubuntu 16.04
before_install:
- git submodule init 'Continuous Integration/Utilities for Travis CI'
# Don't fetch too less history as it will trigger "Server does not allow request for unadvertised object" error
- git submodule update --depth=30
install:
- ./"Continuous Integration/Utilities for Travis CI/Setup ShellCheck's Latest Release without Re-building.bash"
- PATH="${HOME}/Software/shellcheck-stable:${PATH}"
- which -a shellcheck
- shellcheck --version
- pip install --user pre-commit
before_script:
- git lfs install # Install Git LFS config, which makes LFS files not making Git considered as "dirty"
- git lfs pull
- ./setup-development-environment.bash
- git diff-tree -z --no-commit-id --name-only -r HEAD | xargs --null pre-commit run --files
script:
- ./build.bash
cache:
pip: true
directories:
- $HOME/Software
before_deploy:
- ./distribute.bash
deploy:
provider: releases
api_key:
secure: tWizez4E4bVIXFZ80ZmdlA/pwezMJUf5wfPXNeZDE2rTffTJmAkCUb0t9ILf7h11IxuyRf8ElmRUx/jXay9UbY2SLI21QxwDLQkJefCKAG5rVwWOsGnmIHiyjbT96O5n24XSa53d6tkfKs0eL8wGtZ1R4P3rjTW5YTs5nc8kSTkEI5Hx0qr4y5nhbYOcRzyLhNRKsZIBBIZVpwF0IsneR1nMfnTA2XhlDyk1WQNcFsO8XVmPyaMv/4h/od68j1Lnq0bZBV6KbFJaWJguSAh89Xyz2FwEmPFlNZqYXBEHfr1aOLbfE54OUgFUmyZ8jpOutqPl5vKtGYxBlL2XvkvtUNxojFoPKy4HGEr87SUITTDh/RQDWTT8/jSMY5MsKQqjWYNy6f6cH7PPphLUXZblBTIG/h/jyQBndqfiiXaoIw/xmKYUF50fo6oQYwHBwp/XhnKhGfvZW5dmhDSjnrzbZ/RgnuNNp6iGphiWwdIRXplUjF2cGvSa1RvXNeusZ+HTAVCafqwK6CA5cVWQUm0dLqRZ7oby6F5TYKUcSY6nYKpow6eXphNIWgLd/vRKTqfTTFcc5hTv0H6C0cvVAHcExqypXy+mUWLqT2jRLSp4chvYd6hxSrZpQvJjNqyAtt21vskGrVCLOErrVJxFV9ppIVyMgBl2Wnaj1dhMxloGYbg=
file_glob: true
file: Software Release/*.tar.bz2
skip_cleanup: true
on:
tags: true