test it! https://github.com/shaarli/Shaarli/issues/266#issuecomment-258614540
[pin4sha_cgi.git] / .travis.yml
blob680de8b9e7a60c708fdf863d0a7ebceff56873d6
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/v0.6.4
28     - GITHUB=shaarli/Shaarli/archive/v0.6.5
29     - GITHUB=shaarli/Shaarli/archive/v0.7.0
30     - GITHUB=shaarli/Shaarli/archive/v0.8.0
31     - GITHUB=shaarli/Shaarli/archive/master
32     - GITHUB=shaarli/Shaarli/archive/stable
33     - GITHUB=sebsauvage/Shaarli/archive/webdesign    
34 #    - GITHUB=mro/Shaarli/archive/feature/thumbnails
35 matrix:
36   allow_failures:
37     # first community release is known to fail, too:
38     - env: GITHUB=shaarli/Shaarli/archive/v0.0.40beta
39     # why does this one fail?
40     - env: GITHUB=shaarli/Shaarli/archive/v0.0.42beta
41     - env: GITHUB=shaarli/Shaarli/archive/v0.5.4
42     - env: GITHUB=shaarli/Shaarli/archive/v0.6.4
43 before_install:
44   - sh scripts/download.sh
45 addons:
46   apt:
47     packages:
48     - xsltproc
49 #before_script:
50 #  # http://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps
51 script:
52   - sh scripts/run-tests.sh