🐳.
[pin4sha_cgi.git] / .travis.yml
blob086ea69a934835876e75e95ecd0d19362dce99f1
1 # http://docs.travis-ci.com/user/migrating-from-legacy/
2 sudo: false
3 # http://docs.travis-ci.com/user/languages/php/#Choosing-PHP-versions-to-test-against
4 language: php
5 php:
6   - 5.4
7   - 5.5
8   - 5.6
9   - 7.0
10 # http://docs.travis-ci.com/user/customizing-the-build/#The-Build-Lifecycle
11 # http://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix
12 env:
13   global:
14     - GITHUB_SRC_SUBDIR=Shaarli-*
15     - BASE_URL=http://127.0.0.1:8000
16     - USERNAME=tast
17     - PASSWORD=tust
18   matrix:
19     - GITHUB=sebsauvage/Shaarli/archive/master
20 #    - GITHUB=shaarli/Shaarli/archive/v0.0.40beta
21     - GITHUB=shaarli/Shaarli/archive/v0.0.41beta
22     - GITHUB=shaarli/Shaarli/archive/v0.0.42beta
23 #    - GITHUB=shaarli/Shaarli/archive/v0.0.43beta
24 #    - GITHUB=shaarli/Shaarli/archive/v0.0.44beta
25     - GITHUB=shaarli/Shaarli/archive/v0.0.45beta
26     - GITHUB=shaarli/Shaarli/archive/v0.5.4
27     - GITHUB=shaarli/Shaarli/archive/master
28     - GITHUB=shaarli/Shaarli/archive/stable
29 #    - GITHUB=mro/Shaarli/archive/feature/thumbnails
30 matrix:
31   allow_failures:
32     # vanilla may fail due to port 80/sudo issue
33     - env: GITHUB=sebsauvage/Shaarli/archive/master
34     # first community release is known to fail, too:
35     - env: GITHUB=shaarli/Shaarli/archive/v0.0.40beta
36     # why does this one fail?
37     - env: GITHUB=shaarli/Shaarli/archive/v0.0.42beta
38     - env: GITHUB=shaarli/Shaarli/archive/v0.5.4
39     - env: GITHUB=shaarli/Shaarli/archive/stable
40 before_install:
41   - sh scripts/download.sh
42 #before_script:
43 #  # http://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps
44 script:
45   - sh scripts/run-tests.sh