mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	fix ci
This commit is contained in:
		
							parent
							
								
									7fe19a030a
								
							
						
					
					
						commit
						340155e6a6
					
				
							
								
								
									
										11
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								.travis.yml
									
									
									
									
									
								
							| @ -17,15 +17,14 @@ addons: | |||||||
|     - shellcheck |     - shellcheck | ||||||
| 
 | 
 | ||||||
| before_install: | before_install: | ||||||
|   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update          ; fi |   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then  | ||||||
|   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl ; fi |       brew update && brew install openssl && brew link openssl --force | ||||||
|   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link openssl --force ; fi |     fi | ||||||
|   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_BIN="/usr/local/bin/openssl" ; fi |  | ||||||
|    |    | ||||||
| script: | script: | ||||||
|   - echo "TEST_LOCAL=$TEST_LOCAL" |   - echo "TEST_LOCAL=$TEST_LOCAL" | ||||||
|   - echo "NGROK_TOKEN=$(echo "$NGROK_TOKEN" | wc -c)" |   - echo "NGROK_TOKEN=$(echo "$NGROK_TOKEN" | wc -c)" | ||||||
|   - openssl version |   - which openssl && openssl version | ||||||
|   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -sSL $SHFMT_URL -o ~/shfmt ; fi |   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -sSL $SHFMT_URL -o ~/shfmt ; fi | ||||||
|   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod +x ~/shfmt ; fi |   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod +x ~/shfmt ; fi | ||||||
|   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ~/shfmt -l -w -i 2 . ; fi |   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ~/shfmt -l -w -i 2 . ; fi | ||||||
| @ -35,7 +34,7 @@ script: | |||||||
|   - cd .. |   - cd .. | ||||||
|   - git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest |   - git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest | ||||||
|   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh ; fi |   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh ; fi | ||||||
|   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo NGROK_TOKEN="$NGROK_TOKEN_OSX" OPENSSL_BIN="/usr/local/bin/openssl" ./letest.sh ; fi |   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo NGROK_TOKEN="$NGROK_TOKEN_OSX" ./letest.sh ; fi | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| matrix: | matrix: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user