2 # http://docs.travis-ci.com/user/migrating-from-legacy/
5 only: [master, develop]
6 # http://docs.travis-ci.com/user/languages/php/#Choosing-PHP-versions-to-test-against
13 # http://docs.travis-ci.com/user/customizing-the-build/#The-Build-Lifecycle
14 # http://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix
17 - GITHUB_SRC_SUBDIR=Shaarli-*
18 - BASE_URL=http://127.0.0.1:8000
22 - GITHUB=sebsauvage/Shaarli/archive/master
23 - GITHUB=shaarli/Shaarli/archive/v0.0.40beta
24 - GITHUB=shaarli/Shaarli/archive/v0.0.41beta
25 - GITHUB=shaarli/Shaarli/archive/v0.0.42beta
26 # - GITHUB=shaarli/Shaarli/archive/v0.0.43beta
27 # - GITHUB=shaarli/Shaarli/archive/v0.0.44beta
28 - GITHUB=shaarli/Shaarli/archive/v0.0.45beta
29 - GITHUB=shaarli/Shaarli/archive/v0.5.4
30 - GITHUB=shaarli/Shaarli/archive/v0.6.4
31 - GITHUB=shaarli/Shaarli/archive/v0.6.5
32 - GITHUB=shaarli/Shaarli/archive/v0.7.0
33 - GITHUB=shaarli/Shaarli/archive/v0.8.5
34 - GITHUB=shaarli/Shaarli/archive/v0.9.5
35 - GITHUB=shaarli/Shaarli/archive/v0.10.0
36 - GITHUB=shaarli/Shaarli/archive/master
37 - GITHUB=shaarli/Shaarli/archive/stable
38 - GITHUB=shaarli/Shaarli/archive/webdesign
42 # first community release is known to fail, too:
43 - env: GITHUB=shaarli/Shaarli/archive/v0.0.40beta
44 # why does this one fail?
45 - env: GITHUB=shaarli/Shaarli/archive/v0.0.42beta
46 - env: GITHUB=shaarli/Shaarli/archive/v0.5.4
47 - env: GITHUB=shaarli/Shaarli/archive/v0.6.4
48 - env: GITHUB=shaarli/Shaarli/archive/webdesign
49 - { php: 5.5, env: GITHUB=shaarli/Shaarli/archive/v0.10.0 }
50 - { php: 5.5, env: GITHUB=shaarli/Shaarli/archive/master }
51 - { php: 5.5, env: GITHUB=shaarli/Shaarli/archive/stable }
53 - sh scripts/download.sh
54 - go get github.com/yhat/scrape
55 - go get golang.org/x/net/html
56 - go get golang.org/x/net/html/atom
58 - go get github.com/stretchr/testify
62 - go build -ldflags "-s -w -X main.GitSHA1=$(git rev-parse --short HEAD)" -o WebAppRoot/pinboard.cgi
69 # # http://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps
71 - sh scripts/run-tests.sh