mirror of
https://github.com/GiriNeko/CheckChrome.git
synced 2025-12-16 13:17:15 +00:00
chore: bring up travis
This commit is contained in:
parent
d2eb9c7d16
commit
529ebb3171
3 changed files with 43 additions and 3 deletions
7
.travis.yml
Normal file
7
.travis.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
language: generic
|
||||
dist: trusty
|
||||
script:
|
||||
- chmod +x ./checker.sh
|
||||
- chmod +x ./deploy.sh
|
||||
- ./checker.sh
|
||||
- ./deploy.sh > /dev/null
|
||||
37
checker.sh
37
checker.sh
|
|
@ -1,4 +1,9 @@
|
|||
mkdir ./public
|
||||
|
||||
echo '-------------------------------------'
|
||||
echo 'Checking Chrome Stable x86 ......'
|
||||
echo '-------------------------------------'
|
||||
echo ''
|
||||
|
||||
curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' encoding='UTF-8'?>
|
||||
<request protocol='3.0' version='1.3.23.9' shell_version='1.3.21.103' ismachine='0'
|
||||
|
|
@ -11,7 +16,11 @@ curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' enco
|
|||
</app>
|
||||
</request>" > ./public/stable-x86.xml
|
||||
|
||||
echo ''
|
||||
echo '-------------------------------------'
|
||||
echo 'Checking Chrome Stable x64 ......'
|
||||
echo '-------------------------------------'
|
||||
echo ''
|
||||
|
||||
curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' encoding='UTF-8'?>
|
||||
<request protocol='3.0' version='1.3.23.9' shell_version='1.3.21.103' ismachine='0'
|
||||
|
|
@ -24,7 +33,11 @@ curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' enco
|
|||
</app>
|
||||
</request>" > ./public/stable-x64.xml
|
||||
|
||||
echo ''
|
||||
echo '-------------------------------------'
|
||||
echo 'Checking Chrome Beta x86 ......'
|
||||
echo '-------------------------------------'
|
||||
echo ''
|
||||
|
||||
curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' encoding='UTF-8'?>
|
||||
<request protocol='3.0' version='1.3.23.9' shell_version='1.3.21.103' ismachine='0'
|
||||
|
|
@ -37,7 +50,11 @@ curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' enco
|
|||
</app>
|
||||
</request>" > ./public/beta-x86.xml
|
||||
|
||||
echo ''
|
||||
echo '-------------------------------------'
|
||||
echo 'Checking Chrome Beta x64 ......'
|
||||
echo '-------------------------------------'
|
||||
echo ''
|
||||
|
||||
curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' encoding='UTF-8'?>
|
||||
<request protocol='3.0' version='1.3.23.9' shell_version='1.3.21.103' ismachine='0'
|
||||
|
|
@ -50,7 +67,11 @@ curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' enco
|
|||
</app>
|
||||
</request>" > ./public/beta-x64.xml
|
||||
|
||||
echo ''
|
||||
echo '-------------------------------------'
|
||||
echo 'Checking Chrome Dev x86 ......'
|
||||
echo '-------------------------------------'
|
||||
echo ''
|
||||
|
||||
curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' encoding='UTF-8'?>
|
||||
<request protocol='3.0' version='1.3.23.9' shell_version='1.3.21.103' ismachine='0'
|
||||
|
|
@ -62,8 +83,12 @@ curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' enco
|
|||
<updatecheck/>
|
||||
</app>
|
||||
</request>" > ./public/dev-x86.xml
|
||||
|
||||
|
||||
echo ''
|
||||
echo '-------------------------------------'
|
||||
echo 'Checking Chrome Dev x64 ......'
|
||||
echo '-------------------------------------'
|
||||
echo ''
|
||||
|
||||
curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' encoding='UTF-8'?>
|
||||
<request protocol='3.0' version='1.3.23.9' shell_version='1.3.21.103' ismachine='0'
|
||||
|
|
@ -76,7 +101,11 @@ curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' enco
|
|||
</app>
|
||||
</request>" > ./public/dev-64.xml
|
||||
|
||||
echo ''
|
||||
echo '-------------------------------------'
|
||||
echo 'Checking Chrome Canary x86 ......'
|
||||
echo '-------------------------------------'
|
||||
echo ''
|
||||
|
||||
curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' encoding='UTF-8'?>
|
||||
<request protocol='3.0' version='1.3.23.9' shell_version='1.3.21.103' ismachine='0'
|
||||
|
|
@ -89,7 +118,11 @@ curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' enco
|
|||
</app>
|
||||
</request>" > ./public/canary-x86.xml
|
||||
|
||||
echo ''
|
||||
echo '-------------------------------------'
|
||||
echo 'Checking Chrome Canary x64 ......'
|
||||
echo '-------------------------------------'
|
||||
echo ''
|
||||
|
||||
curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' encoding='UTF-8'?>
|
||||
<request protocol='3.0' version='1.3.23.9' shell_version='1.3.21.103' ismachine='0'
|
||||
|
|
@ -100,4 +133,4 @@ curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' enco
|
|||
<app appid='{4EA16AC7-FD5A-47C3-875B-DBF4A2008C20}' ap='x64-canary' version='' nextversion='' lang='' brand='GGLS' client=''>
|
||||
<updatecheck/>
|
||||
</app>
|
||||
</request>" > ./public/canary-x64.xml
|
||||
</request>" > ./public/canary-x64.xml
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ git config --global user.name "${GitHubUser}"
|
|||
git remote add origin https://${GitHubKEY}@github.com/neko-dev/neohosts.git
|
||||
git pull origin gh-pages
|
||||
rm -rf ./*
|
||||
cp -rf ../_public/* ../_deploy/
|
||||
cp -rf ../public/* ../_deploy/
|
||||
git add --all .
|
||||
git commit -m "Chrome daily"
|
||||
git push --quiet --force origin HEAD:gh-pages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue