From 7b675280bf7d8a7cf8dc8f70d3649c809f6a868c Mon Sep 17 00:00:00 2001 From: Rahul Behera Date: Wed, 8 Oct 2014 11:16:01 -0500 Subject: [PATCH 01/10] attempt to get travis ci to work --- .travis.yml | 2 ++ ios/dance.sh | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d9c8f54 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,2 @@ +language: objective-c +script: ./ios/dance.sh \ No newline at end of file diff --git a/ios/dance.sh b/ios/dance.sh index 0efd7dc..1360eea 100644 --- a/ios/dance.sh +++ b/ios/dance.sh @@ -14,9 +14,8 @@ done PROJECT_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" source "$PROJECT_DIR/build.sh" - -# I am unable to update past 6938. I will update a fix soon. -update2Revision 6937 +WEBRTC_DEBUG=true +update2Revision build_webrtc echo "Finished Dancing!" From 1f5cbaf17f9e2df04ed7a7374d1ef01b4851ae08 Mon Sep 17 00:00:00 2001 From: Rahul Behera Date: Wed, 8 Oct 2014 11:23:12 -0500 Subject: [PATCH 02/10] test push a change to kick off travis ci --- ios/dance.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ios/dance.sh b/ios/dance.sh index 1360eea..2818b12 100644 --- a/ios/dance.sh +++ b/ios/dance.sh @@ -14,7 +14,10 @@ done PROJECT_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" source "$PROJECT_DIR/build.sh" + + WEBRTC_DEBUG=true + update2Revision build_webrtc From 8f4bb33f3760b45e0cc1be0789dbca3cdc96da6c Mon Sep 17 00:00:00 2001 From: Rahul Behera Date: Wed, 8 Oct 2014 11:26:48 -0500 Subject: [PATCH 03/10] try and set the scheme and project --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d9c8f54..6e0b5c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,3 @@ language: objective-c -script: ./ios/dance.sh \ No newline at end of file +xcode_project: ./ios/WebRTC.xcodeproj # path to your xcodeproj folder +xcode_scheme: WebRTC Dance \ No newline at end of file From fbfb32c4ada11fd89c296ee2340d574685a7fbce Mon Sep 17 00:00:00 2001 From: Rahul Behera Date: Wed, 8 Oct 2014 11:34:00 -0500 Subject: [PATCH 04/10] try doing an Xcode build with the target set as WebRTC Dance --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6e0b5c6..e585cd2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,2 @@ language: objective-c -xcode_project: ./ios/WebRTC.xcodeproj # path to your xcodeproj folder -xcode_scheme: WebRTC Dance \ No newline at end of file +script: xcodebuild -project ./ios/WebRTC.xcodeproj -target WebRTC Dance \ No newline at end of file From c9ef06d1391ab2bdc460695750092b2a0efcb233 Mon Sep 17 00:00:00 2001 From: Rahul Behera Date: Wed, 8 Oct 2014 11:38:27 -0500 Subject: [PATCH 05/10] try just sourcing the script itself --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e585cd2..c697141 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,2 @@ language: objective-c -script: xcodebuild -project ./ios/WebRTC.xcodeproj -target WebRTC Dance \ No newline at end of file +script: source ./ios/build.sh && WEBRTC_DEBUG=true && update2Revision && build_webrtc \ No newline at end of file From dbd5267b2245cb3058c6a2877f5c561e8df5f0fa Mon Sep 17 00:00:00 2001 From: Rahul Behera Date: Wed, 8 Oct 2014 13:03:36 -0500 Subject: [PATCH 06/10] try a headless chrome build --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c697141..cef1199 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,2 @@ language: objective-c -script: source ./ios/build.sh && WEBRTC_DEBUG=true && update2Revision && build_webrtc \ No newline at end of file +script: source ./ios/build.sh && CHROME_HEADLESS=1 && WEBRTC_DEBUG=true && update2Revision && build_webrtc \ No newline at end of file From 0b21d82eb1ff9bf3b055157dff968c5b296d24ef Mon Sep 17 00:00:00 2001 From: Rahul Behera Date: Wed, 22 Oct 2014 14:51:42 -0500 Subject: [PATCH 07/10] try doing a headless build so we can pull faster --- ios/build.sh | 2 ++ ios/dance.sh | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ios/build.sh b/ios/build.sh index ccb209e..4bb8a5a 100755 --- a/ios/build.sh +++ b/ios/build.sh @@ -138,6 +138,8 @@ function clone() { function sync() { pull_depot_tools cd $WEBRTC + + export CHROME_HEADLESS=1 if [ -z $1 ] then gclient sync diff --git a/ios/dance.sh b/ios/dance.sh index 2818b12..01051aa 100644 --- a/ios/dance.sh +++ b/ios/dance.sh @@ -15,7 +15,6 @@ PROJECT_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" source "$PROJECT_DIR/build.sh" - WEBRTC_DEBUG=true update2Revision From acfa2da07697111b825505d7dc8f7764aedda07c Mon Sep 17 00:00:00 2001 From: Rahul Behera Date: Wed, 22 Oct 2014 14:59:55 -0500 Subject: [PATCH 08/10] make sure we have a /b directory and it has correct permissions --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index cef1199..f5c005f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,3 @@ language: objective-c +before_install: sudo mkdir /b && sudo chmod 777 /b script: source ./ios/build.sh && CHROME_HEADLESS=1 && WEBRTC_DEBUG=true && update2Revision && build_webrtc \ No newline at end of file From a2114397157788d0c13931dce324c0fa56e2d3e6 Mon Sep 17 00:00:00 2001 From: Rahul Behera Date: Thu, 23 Oct 2014 11:20:38 -0500 Subject: [PATCH 09/10] undo last changes. the original build might work now --- .travis.yml | 3 +-- ios/build.sh | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f5c005f..c697141 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,2 @@ language: objective-c -before_install: sudo mkdir /b && sudo chmod 777 /b -script: source ./ios/build.sh && CHROME_HEADLESS=1 && WEBRTC_DEBUG=true && update2Revision && build_webrtc \ No newline at end of file +script: source ./ios/build.sh && WEBRTC_DEBUG=true && update2Revision && build_webrtc \ No newline at end of file diff --git a/ios/build.sh b/ios/build.sh index 4bb8a5a..1adde8a 100755 --- a/ios/build.sh +++ b/ios/build.sh @@ -139,7 +139,6 @@ function sync() { pull_depot_tools cd $WEBRTC - export CHROME_HEADLESS=1 if [ -z $1 ] then gclient sync From 05b0077f433d01e8a3820b7cfb42af04c92f736e Mon Sep 17 00:00:00 2001 From: Rahul Behera Date: Thu, 23 Oct 2014 12:46:07 -0500 Subject: [PATCH 10/10] apparently the travis-ci build complains about a /b directory... even though i didn't turn on chrome headless --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index c697141..798d721 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,3 @@ language: objective-c +before_install: sudo mkdir /b && sudo chmod 777 /b script: source ./ios/build.sh && WEBRTC_DEBUG=true && update2Revision && build_webrtc \ No newline at end of file