Skip to content

Commit

Permalink
update the travis CI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
anhnguyenbitmark committed Jan 7, 2022
1 parent 038b733 commit 700a59d
Showing 1 changed file with 9 additions and 28 deletions.
37 changes: 9 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,13 @@
language: swift
language: objective-c
osx_image: xcode13.2
branches:
only:
- master
matrix:
include:
- name: "macOS"
os: osx
osx_image: xcode13.2
script: xcrun xcodebuild -project TweetNacl.xcodeproj -scheme TweetNacl-macOS test | xcpretty
- name: "iOS"
os: osx
osx_image: xcode13.2
script: xcrun xcodebuild -project TweetNacl.xcodeproj -scheme TweetNacl-iOS test | xcpretty
- name: "watchOS"
os: osx
osx_image: xcode13.2
script: xcrun xcodebuild -project TweetNacl.xcodeproj -scheme TweetNacl-watchOS test | xcpretty
- name: "tvOS"
os: osx
osx_image: xcode13.2
script: xcrun xcodebuild -project TweetNacl.xcodeproj -scheme TweetNacl-tvOS test | xcpretty
# - name: "linux"
# os: linux
# env: swift=5.5
# install:
# - curl "https://swift.org/builds/swift-${swift}-release/ubuntu1604/swift-${swift}-RELEASE/swift-${swift}-RELEASE-ubuntu16.04.tar.gz" > /tmp/swift.tar.gz
# - tar -xzf /tmp/swift.tar.gz -C /tmp
# - export PATH="${PATH}:/tmp/swift-${swift}-RELEASE-ubuntu16.04/usr/bin"
# - swift -version
# script: swift test

before_install:
- gem install xcpretty

script:
- swift build
- swift test
after_success: bash <(curl -s https://codecov.io/bash)

0 comments on commit 700a59d

Please sign in to comment.