.travis.yml: move test builders after install builders (#21833)
This commit is contained in:
		
							
								
								
									
										62
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										62
									
								
								.travis.yml
									
									
									
									
									
								
							@@ -24,37 +24,6 @@ jobs:
 | 
			
		||||
      script:
 | 
			
		||||
        - go run build/ci.go lint
 | 
			
		||||
 | 
			
		||||
    - stage: build
 | 
			
		||||
      os: linux
 | 
			
		||||
      dist: xenial
 | 
			
		||||
      go: 1.14.x
 | 
			
		||||
      env:
 | 
			
		||||
        - GO111MODULE=on
 | 
			
		||||
      script:
 | 
			
		||||
        - go run build/ci.go test -coverage $TEST_PACKAGES
 | 
			
		||||
 | 
			
		||||
    # These are the latest Go versions.
 | 
			
		||||
    - stage: build
 | 
			
		||||
      os: linux
 | 
			
		||||
      arch: amd64
 | 
			
		||||
      dist: xenial
 | 
			
		||||
      go: 1.15.x
 | 
			
		||||
      env:
 | 
			
		||||
        - GO111MODULE=on
 | 
			
		||||
      script:
 | 
			
		||||
        - go run build/ci.go test -coverage $TEST_PACKAGES
 | 
			
		||||
 | 
			
		||||
    - stage: build
 | 
			
		||||
      if: type = pull_request
 | 
			
		||||
      os: linux
 | 
			
		||||
      arch: arm64
 | 
			
		||||
      dist: xenial
 | 
			
		||||
      go: 1.15.x
 | 
			
		||||
      env:
 | 
			
		||||
        - GO111MODULE=on
 | 
			
		||||
      script:
 | 
			
		||||
        - go run build/ci.go test -coverage $TEST_PACKAGES
 | 
			
		||||
 | 
			
		||||
    # This builder does the Ubuntu PPA upload
 | 
			
		||||
    - stage: build
 | 
			
		||||
      if: type = push
 | 
			
		||||
@@ -215,6 +184,37 @@ jobs:
 | 
			
		||||
        - export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc'
 | 
			
		||||
        - go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
 | 
			
		||||
 | 
			
		||||
    # These builders run the tests
 | 
			
		||||
    - stage: build
 | 
			
		||||
      os: linux
 | 
			
		||||
      arch: amd64
 | 
			
		||||
      dist: xenial
 | 
			
		||||
      go: 1.15.x
 | 
			
		||||
      env:
 | 
			
		||||
        - GO111MODULE=on
 | 
			
		||||
      script:
 | 
			
		||||
        - go run build/ci.go test -coverage $TEST_PACKAGES
 | 
			
		||||
 | 
			
		||||
    - stage: build
 | 
			
		||||
      if: type = pull_request
 | 
			
		||||
      os: linux
 | 
			
		||||
      arch: arm64
 | 
			
		||||
      dist: xenial
 | 
			
		||||
      go: 1.15.x
 | 
			
		||||
      env:
 | 
			
		||||
        - GO111MODULE=on
 | 
			
		||||
      script:
 | 
			
		||||
        - go run build/ci.go test -coverage $TEST_PACKAGES
 | 
			
		||||
 | 
			
		||||
    - stage: build
 | 
			
		||||
      os: linux
 | 
			
		||||
      dist: xenial
 | 
			
		||||
      go: 1.14.x
 | 
			
		||||
      env:
 | 
			
		||||
        - GO111MODULE=on
 | 
			
		||||
      script:
 | 
			
		||||
        - go run build/ci.go test -coverage $TEST_PACKAGES
 | 
			
		||||
 | 
			
		||||
    # This builder does the Azure archive purges to avoid accumulating junk
 | 
			
		||||
    - stage: build
 | 
			
		||||
      if: type = cron
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user