From 31bb87855b1258d21a39eb7f9ea04eb92c807b93 Mon Sep 17 00:00:00 2001 From: yicheng Date: Sat, 16 Feb 2019 22:07:48 +0800 Subject: [PATCH] Feature: use custom go in ci --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 56502d5..e4b1c32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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