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

@@ -17,11 +17,6 @@ jobs:
include: include:
- 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
@@ -48,6 +43,11 @@ jobs:
sudo: false sudo: false
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
@@ -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|