ci: use a junction on Windows instead of a symlink
[git.git] / .travis.yml
blob03c8e4c613015476fffe3f1e071c0c9d6609df0e
1 language: c
3 cache:
4   directories:
5     - $HOME/travis-cache
7 os:
8   - linux
9   - osx
11 compiler:
12   - clang
13   - gcc
15 matrix:
16   include:
17     - env: jobname=GIT_TEST_GETTEXT_POISON
18       os: linux
19       compiler:
20       addons:
21       before_install:
22     - env: jobname=Windows
23       os: linux
24       compiler:
25       addons:
26       before_install:
27       script:
28         - >
29           test "$TRAVIS_REPO_SLUG" != "git/git" ||
30           ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
31       after_failure:
32     - env: jobname=Linux32
33       os: linux
34       compiler:
35       addons:
36       services:
37         - docker
38       before_install:
39       script: ci/run-linux32-docker.sh
40     - env: jobname=StaticAnalysis
41       os: linux
42       compiler:
43       script: ci/run-static-analysis.sh
44       after_failure:
45     - env: jobname=Documentation
46       os: linux
47       compiler:
48       script: ci/test-documentation.sh
49       after_failure:
51 before_install: ci/install-dependencies.sh
52 script: ci/run-build-and-tests.sh
53 after_failure: ci/print-test-failures.sh
55 notifications:
56   email: false