21
21
# https://docs.travis-ci.com/user/customizing-the-build/#Git-LFS-Skip-Smudge
22
22
lfs_skip_smudge : false
23
23
24
- # ## Limit Git branches to be include in continuous integration, by default all branches with the .travis.yml file will be included
25
- # ## https://docs.travis-ci.com/user/customizing-the-build/#Building-Specific-Branches
26
- # branches:
27
- # except:
28
- # - no-ci
29
-
30
24
# # Build Environment Specification
31
25
# ## Whether to use faster container build(false) or flexible VM build(required)
32
26
# ## NOTE: `sudo` is not available in container build!
@@ -35,32 +29,16 @@ sudo: false
35
29
# ## Selection of ubuntu release for build environment
36
30
dist : trusty
37
31
38
- # ## Services pre-installed in the CI environment to start up
39
- # ## https://docs.travis-ci.com/user/database-setup/#Starting-Services
40
- # services:
41
- # - mysql
42
-
43
32
# # The Build Lifecycle
44
33
# # https://docs.travis-ci.com/user/customizing-the-build/#The-Build-Lifecycle
45
34
# ## Addons(?)
46
35
addons :
47
- # APT addon allows container build to install limited software sources and packages to the system in Travis CI's whitelist
48
36
apt :
49
- # Software sources to be added
50
- # https://github.com/travis-ci/apt-source-whitelist
51
- # sources:
52
- # - ubuntu-toolchain-r-test
53
-
54
37
# Software packages to be installed
55
38
packages :
56
39
- realpath # script dependencies
57
40
- python-pip # for yamllint
58
41
59
- # Hostname can be customized via hosts addon
60
- # https://docs.travis-ci.com/user/customizing-the-build/#Custom-Hostnames
61
- # hosts: true
62
- # - mysite.com
63
-
64
42
# ## You can run custom commands before the installation step
65
43
before_install :
66
44
- git submodule init 'Utilities for Travis CI' 'GNU Bash Automatic Checking Program for Git Projects'
@@ -69,8 +47,6 @@ before_install:
69
47
# ## Install/Setup any required dependencies used in continuous integration
70
48
# ## https://docs.travis-ci.com/user/installing-dependencies/
71
49
install :
72
- # ### Traditional package installing(requires VM build environment)
73
- # - sudo apt-get install
74
50
75
51
# ### Sometimes dependencies needs to be build from source code and install/setup to use it
76
52
# ### https://docs.travis-ci.com/user/installing-dependencies/#Installing-Projects-from-Source
@@ -87,7 +63,6 @@ before_script:
87
63
88
64
# ## Put your build scripts here
89
65
script : true
90
- # - ./build
91
66
92
67
# ## You can remove files that are not needed for caching here
93
68
before_cache : true
@@ -106,18 +81,6 @@ after_success: true
106
81
107
82
before_deploy : true
108
83
109
- # ## Software deployment phase
110
- # ## https://docs.travis-ci.com/user/deployment/
111
- # deploy:
112
- # - provider: undefined
113
- # on:
114
- # branch: master
115
- # tags: true
116
- # - provider: undefined
117
- # on:
118
- # branch: master
119
- # tags: true
120
-
121
84
after_deploy : true
122
85
123
86
after_script : true
0 commit comments