mirror of
https://github.com/GiriNeko/CheckChrome.git
synced 2025-12-16 13:17:15 +00:00
fix/ci: update travis.yml
This commit is contained in:
parent
53179cde57
commit
854748b899
2 changed files with 5 additions and 11 deletions
12
.travis.yml
12
.travis.yml
|
|
@ -5,13 +5,5 @@ dist: trusty
|
|||
install:
|
||||
- sudo apt-get --yes install libxml2-utils
|
||||
script:
|
||||
- chmod +x ./checker.sh
|
||||
- chmod +x ./combine.sh
|
||||
- chmod +x ./util/xmlparser.sh
|
||||
- chmod +x ./build.sh
|
||||
- chmod +x ./deploy.sh
|
||||
- ./checker.sh
|
||||
- ./combine.sh
|
||||
- ./xmlparser.sh tmp/chrome.xml > tmp/chrome_xml_parser_result.txt
|
||||
- ./build.sh
|
||||
- ./deploy.sh > /dev/null
|
||||
- chmod +x ./run.sh
|
||||
- ./run.sh
|
||||
|
|
|
|||
4
run.sh
4
run.sh
|
|
@ -14,7 +14,7 @@ chmod +x ./util/deployer.sh
|
|||
./util/parse.sh stable-x86 stable-x64 beta-x86 beta-x64 dev-x86 dev-x64 canary-x86 canary-x64
|
||||
|
||||
cp -rf src/index.html tmp/index.html
|
||||
cp -rf src/chrome.tpl tmp/chrome.xml
|
||||
cp -rf src/chrome.xml tmp/chrome.xml
|
||||
|
||||
DATE="$(echo $(TZ=UTC-8 date '+%Y-%m-%d %H:%M:%S'))"
|
||||
sed -i "s|{{CheckTime}}|$DATE|g" tmp/index.html
|
||||
|
|
@ -28,3 +28,5 @@ xmllint --noblanks tmp/chrome.xml > tmp/api/chrome.min.xml
|
|||
cp -rf tmp/index.html public/index.html
|
||||
cp -rf tmp/api/chrome.xml public/api/chrome.xml
|
||||
cp -rf tmp/api/chrome.min.xml public/api/chrome.min.xml
|
||||
|
||||
./util/deployer.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue