forked from AzureAD/azure-activedirectory-library-for-objc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (30 loc) · 1.19 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
31
32
33
34
35
36
37
38
39
40
41
language: objective-c
osx_image: xcode7.2
# Set up our rubygems (slather and xcpretty, namely)
install:
- gem install xcpretty slather -N
before_script:
# Start by nuking any lingering codecov files. These can cause issues when the xcode version changes
- find . -name "*.gcda" -print0 | xargs -0 rm
# Nuke the entire derived data folder while we're at it.
- rm -rf ~/Library/Developer/Xcode/DerivedData
# Tell the shell to echo failure codes up the pipe so that Travis will properly fail the
# build when the xcodebuild command fails
- set -o pipefail
script:
# Build and Test the ADALiOS library
- build/iOS_Static_Lib
# Build the Test App (to make sure it doesn't break
- build/iOS_Test_App
# Build and Test ADAL for Mac
- build/Mac_Framework
# Build Mac Test App
- build/Mac_Test_App
# Test ADAL for Mac 32-bit
- build/Mac_32_bit
after_success:
# Run slather once to have it print out the results in the travis log
# - slather coverage -s ADAL/ADAL.xcodeproj
notifications:
slack:
secure: BIziStN+8QJLjdqNbLyRWWw9kI/MQsX+rZq+xz/bfTANk0gbEryLgMSiEoHxdoctu0dOqOet1voYuDKs3RQW3W0yh0AhDwVgWThNkTA0oDXF8zqm9AXettXNtmYHipaYb6+z6L4lpJOkClQp3hAheu8cM2igqye1O0FQla9g/PA=