diff --git a/.travis.yml b/.travis.yml index d2084f2d5..de805bda2 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 000000000..21d1b9cc0 --- /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 similarity index 100% rename from .travis/lint.sh rename to .travis/lint_06_script.sh diff --git a/.travis/before_install.sh b/.travis/test_03_before_install.sh similarity index 100% rename from .travis/before_install.sh rename to .travis/test_03_before_install.sh diff --git a/.travis/install.sh b/.travis/test_04_install.sh similarity index 100% rename from .travis/install.sh rename to .travis/test_04_install.sh diff --git a/.travis/before_script.sh b/.travis/test_05_before_script.sh similarity index 100% rename from .travis/before_script.sh rename to .travis/test_05_before_script.sh diff --git a/.travis/script.sh b/.travis/test_06_script.sh similarity index 100% rename from .travis/script.sh rename to .travis/test_06_script.sh