aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Fleischer <tirednesscankill@warhog.net>2018-08-03 17:27:08 +0200
committerJulian Fleischer <tirednesscankill@warhog.net>2018-08-27 12:23:25 +0200
commit272306ea57116c0c9afc0f73161929be978fe9a8 (patch)
treeb3d09178f138ea439f84c0946f3bfb7a1d6e9015
parent519e2739cf6fac98ec24888b36b011f1c6b98bbc (diff)
number .travis/ script according to build lifecycle and add README to explain
-rw-r--r--.travis.yml10
-rw-r--r--.travis/README.md8
-rwxr-xr-x.travis/lint_06_script.sh (renamed from .travis/lint.sh)0
-rwxr-xr-x.travis/test_03_before_install.sh (renamed from .travis/before_install.sh)0
-rwxr-xr-x.travis/test_04_install.sh (renamed from .travis/install.sh)0
-rwxr-xr-x.travis/test_05_before_script.sh (renamed from .travis/before_script.sh)0
-rwxr-xr-x.travis/test_06_script.sh (renamed from .travis/script.sh)0
7 files changed, 13 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index d2084f2d5c..de805bda24 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,13 +29,13 @@ env:
- WINEDEBUG=fixme-all
- DOCKER_PACKAGES="build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache"
before_install:
- - source .travis/before_install.sh
+ - source .travis/test_03_before_install.sh
install:
- - source .travis/install.sh
+ - source .travis/test_04_install.sh
before_script:
- - source .travis/before_script.sh
+ - source .travis/test_05_before_script.sh
script:
- - source .travis/script.sh
+ - source .travis/test_06_script.sh
after_script:
- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG
@@ -53,7 +53,7 @@ jobs:
before_script:
- git fetch --unshallow
script:
- - source .travis/lint.sh
+ - source .travis/lint_06_script.sh
# ARM
- stage: test
env: >-
diff --git a/.travis/README.md b/.travis/README.md
new file mode 100644
index 0000000000..21d1b9cc03
--- /dev/null
+++ b/.travis/README.md
@@ -0,0 +1,8 @@
+## travis build scripts
+
+The `.travis` directory contains scripts for each build step in each build stage.
+Currently the travis build defines two stages `lint` and `test`. Each stage has
+it's own [lifecycle](https://docs.travis-ci.com/user/customizing-the-build/#the-build-lifecycle).
+Every script in here is named and numbered according to which stage and lifecycle
+step it belongs to.
+
diff --git a/.travis/lint.sh b/.travis/lint_06_script.sh
index 067ad6c32a..067ad6c32a 100755
--- a/.travis/lint.sh
+++ b/.travis/lint_06_script.sh
diff --git a/.travis/before_install.sh b/.travis/test_03_before_install.sh
index 8026a96f89..8026a96f89 100755
--- a/.travis/before_install.sh
+++ b/.travis/test_03_before_install.sh
diff --git a/.travis/install.sh b/.travis/test_04_install.sh
index aa47dfccb4..aa47dfccb4 100755
--- a/.travis/install.sh
+++ b/.travis/test_04_install.sh
diff --git a/.travis/before_script.sh b/.travis/test_05_before_script.sh
index eeeceed57d..eeeceed57d 100755
--- a/.travis/before_script.sh
+++ b/.travis/test_05_before_script.sh
diff --git a/.travis/script.sh b/.travis/test_06_script.sh
index 30096eff8a..30096eff8a 100755
--- a/.travis/script.sh
+++ b/.travis/test_06_script.sh