Fix stage types in .travis.yml

This commit is contained in:
Max Howell
2019-01-20 17:33:56 -05:00
parent 920f007660
commit ca4ac3ec8f

View File

@@ -18,11 +18,6 @@ jobs:
- script: swift test - script: swift test
name: macOS name: macOS
- stage: pretest
name: Check if Linux tests are up-to-date
install: swift test --generate-linuxmain
script: git diff --exit-code
- &xcodebuild - &xcodebuild
before_install: swift package generate-xcodeproj before_install: swift package generate-xcodeproj
xcode_destination: platform=iOS Simulator,OS=latest,name=iPhone XS xcode_destination: platform=iOS Simulator,OS=latest,name=iPhone XS
@@ -49,6 +44,11 @@ jobs:
install: eval "$(curl -sL https://swiftenv.fuller.li/install.sh)" install: eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script: swift test script: swift test
- stage: pretest
name: Check if Linux tests are up-to-date
install: swift test --generate-linuxmain
script: git diff --exit-code
- stage: deploy - stage: deploy
name: Jazzy name: Jazzy
before_install: | before_install: |
@@ -79,8 +79,7 @@ jobs:
on: on:
tags: true tags: true
- stage: deploy - name: CocoaPods
name: CocoaPods
before_install: | before_install: |
cat << EOF > Path.swift.podspec cat << EOF > Path.swift.podspec
Pod::Spec.new do |s| Pod::Spec.new do |s|