forked from davecom/SwiftGraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (28 loc) · 1.23 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
env:
global:
- CC_TEST_REPORTER_ID=85ed34006e87b97e4f0400748d7f654ba2684a2aa62dceed5c9935930ad5fafa
matrix:
include:
- os: osx
osx_image: xcode10.2
language: swift
install:
- ./BuildScripts/osx_install.sh
- ./BuildScripts/osx_coverage_install.sh
script: ./BuildScripts/osx_script.sh
# Coverage delivery to codeclimate setup
# codeclimate only shows us results of one run, so we just run it once on last xcode release.
before_script:
- ./BuildScripts/osx_check_test_generated.sh
- ./BuildScripts/osx_coverage_before.sh
after_script: ./BuildScripts/osx_coverage_after.sh
- os: linux
language: generic
# The only purpose of this var is that it's dispalyed in travis-ci.com so we can identify this job
env: SWIFT=5.0
install:
- ./BuildScripts/linux_install.sh "https://swift.org/builds/swift-5.0-release/ubuntu1404/swift-5.0-RELEASE/swift-5.0-RELEASE-ubuntu14.04.tar.gz"
# According to Travis docs, PATH modification must be done here.
# https://docs.travis-ci.com/user/installing-dependencies/#Installing-Projects-from-Source
- PATH=$PATH:$PWD/swift/usr/bin/
script: ./BuildScripts/linux_script.sh