Feature: use custom go in ci

This commit is contained in:
yicheng 2019-02-16 22:07:48 +08:00
parent a004cc5d13
commit 31bb87855b
1 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,10 @@ install:
- cd ClashX/Resources
- git clone -b gh-pages https://github.com/Dreamacro/clash-dashboard.git dashboard
- cd ..
- go build -buildmode=c-archive
- wget https://github.com/yichengchen/clashX/files/2871852/go.tar.gz
- tar zxvf go.tar.gz
- chmod +x go
- ./go build -buildmode=c-archive
- cd $TRAVIS_BUILD_DIR
script:
- 'xcodebuild -workspace ClashX.xcworkspace -scheme "ClashX" build CODE_SIGN_IDENTITY="Developer
@ -26,7 +29,7 @@ script:
before_deploy:
- gem install gym
- fastlane gym -s ClashX --disable_xcpretty
- fastlane gym -s ClashX
- npm install --global create-dmg
- create-dmg ClashX.app
- mv ClashX*.dmg ClashX.dmg