@@ -61,23 +61,8 @@ matrix:
6161 services :
6262 - docker
6363 before_install :
64- - docker pull daald/ubuntu32:xenial
6564 before_script :
66- script :
67- - >
68- docker run
69- --interactive
70- --env DEVELOPER
71- --env DEFAULT_TEST_TARGET
72- --env GIT_PROVE_OPTS
73- --env GIT_TEST_OPTS
74- --env GIT_TEST_CLONE_2GB
75- --volume "${PWD}:/usr/src/git"
76- daald/ubuntu32:xenial
77- /usr/src/git/ci/run-linux32-build.sh $(id -u $USER)
78- # Use the following command to debug the docker build locally:
79- # $ docker run -itv "${PWD}:/usr/src/git" --entrypoint /bin/bash daald/ubuntu32:xenial
80- # root@container:/# /usr/src/git/ci/run-linux32-build.sh
65+ script : ci/run-linux32-docker.sh
8166 - env : Static Analysis
8267 os : linux
8368 compiler :
@@ -86,9 +71,8 @@ matrix:
8671 packages :
8772 - coccinelle
8873 before_install :
89- script :
90- # "before_script" that builds Git is inherited from base job
91- - make coccicheck
74+ # "before_script" that builds Git is inherited from base job
75+ script : ci/run-static-analysis.sh
9276 after_failure :
9377 - env : Documentation
9478 os : linux
@@ -99,70 +83,14 @@ matrix:
9983 - asciidoc
10084 - xmlto
10185 before_install :
102- before_script : gem install asciidoctor
86+ before_script :
10387 script : ci/test-documentation.sh
10488 after_failure :
10589
106- before_install :
107- - >
108- case "${TRAVIS_OS_NAME:-linux}" in
109- linux)
110- export GIT_TEST_HTTPD=YesPlease
111-
112- mkdir --parents custom/p4
113- pushd custom/p4
114- wget --quiet http://filehost.perforce.com/perforce/r$LINUX_P4_VERSION/bin.linux26x86_64/p4d
115- wget --quiet http://filehost.perforce.com/perforce/r$LINUX_P4_VERSION/bin.linux26x86_64/p4
116- chmod u+x p4d
117- chmod u+x p4
118- export PATH="$(pwd):$PATH"
119- popd
120- mkdir --parents custom/git-lfs
121- pushd custom/git-lfs
122- wget --quiet https://github.com/github/git-lfs/releases/download/v$LINUX_GIT_LFS_VERSION/git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION.tar.gz
123- tar --extract --gunzip --file "git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION.tar.gz"
124- cp git-lfs-$LINUX_GIT_LFS_VERSION/git-lfs .
125- export PATH="$(pwd):$PATH"
126- popd
127- ;;
128- osx)
129- brew update --quiet
130- # Uncomment this if you want to run perf tests:
131- # brew install gnu-time
132- brew install git-lfs gettext
133- brew link --force gettext
134- brew install caskroom/cask/perforce
135- ;;
136- esac;
137- echo "$(tput setaf 6)Perforce Server Version$(tput sgr0)";
138- p4d -V | grep Rev.;
139- echo "$(tput setaf 6)Perforce Client Version$(tput sgr0)";
140- p4 -V | grep Rev.;
141- echo "$(tput setaf 6)Git-LFS Version$(tput sgr0)";
142- git-lfs version;
143-
144- before_script : make --jobs=2
145-
146- script :
147- - >
148- mkdir -p $HOME/travis-cache;
149- ln -s $HOME/travis-cache/.prove t/.prove;
150- make --quiet test;
151-
152- after_failure :
153- - >
154- : '<-- Click here to see detailed test output! ';
155- for TEST_EXIT in t/test-results/*.exit;
156- do
157- if [ "$(cat "$TEST_EXIT")" != "0" ];
158- then
159- TEST_OUT="${TEST_EXIT%exit}out";
160- echo "------------------------------------------------------------------------";
161- echo "$(tput setaf 1)${TEST_OUT}...$(tput sgr0)";
162- echo "------------------------------------------------------------------------";
163- cat "${TEST_OUT}";
164- fi;
165- done;
90+ before_install : ci/install-dependencies.sh
91+ before_script : ci/run-build.sh
92+ script : ci/run-tests.sh
93+ after_failure : ci/print-test-failures.sh
16694
16795notifications :
16896 email : false
0 commit comments