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
name: macOS
- stage: pretest
name: Check if Linux tests are up-to-date
install: swift test --generate-linuxmain
script: git diff --exit-code
- &xcodebuild
before_install: swift package generate-xcodeproj
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)"
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
name: Jazzy
before_install: |
@@ -79,8 +79,7 @@ jobs:
on:
tags: true
- stage: deploy
name: CocoaPods
- name: CocoaPods
before_install: |
cat << EOF > Path.swift.podspec
Pod::Spec.new do |s|