-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (28 loc) · 967 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: java
env:
global:
- GH_REF: github.com/w3c/wcag.git
- secure: "lPbj4s7Tocs+FwwiB1J4t1DQgaDEs4bncsqPTRH6bZH5omGuSIBwMJz4sRexssRIzMrEOWRMxP3WYBS5Eyw0K+J1QKm0RjWcdDZ74M9l/tylKaSiwj6e+w89+AlXrIQLPCghOS4/1f1lHbIAf/YUfaAyElwv9N4Mel4c2TUfaeE="
install:
- curl -L http://sourceforge.net/projects/saxon/files/Saxon-HE/9.5/SaxonHE9-5-1-4J.zip/download > SaxonHE9.zip
- unzip SaxonHE9.zip
git:
depth: 3
branches:
only:
/^Working-Branch-for-Q\d-\d\d\d\d$/
before_script:
- git config --global user.email "[email protected]"
- git config --global user.name "michael-n-cooper"
script:
- ant -f wcag20/build.xml -lib saxon9he.jar gh-pages
after_success:
- cd ../..
- mkdir gh-pages
- cd gh-pages
- git clone --depth=1 --branch=gh-pages https://github.com/w3c/wcag.git
- cd wcag
- cp -r ../../Generated/* .
- git add .
- git commit -m "Generated by TRAVIS-CI"
- git push "https://${GH_TOKEN}@${GH_REF}" gh-pages