diff --git a/blah b/blah new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/blah @@ -0,0 +1 @@ + diff --git a/circle.yml b/circle.yml index 294c573..fc0e31b 100644 --- a/circle.yml +++ b/circle.yml @@ -1,4 +1,12 @@ machine: + pre: + - brew install nvm jq + - | + curl https://circleci.com/api/v1/project/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/tree/$CIRCLE_BRANCH\?limit\=100\?circle-token\=$CIRCLE_TOKEN + # Log all commits since last commit in last successful build + # - | + # cd $CIRCLE_PROJECT_REPONAME && git fetch --unshallow && git log `echo $(curl -H "accept: application/json" https://circleci.com/api/v1/project/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/tree/$CIRCLE_BRANCH\?limit\=100\&circle-token\=$CIRCLE_TOKEN | jq '[.[] | select(.status=="success" or .status=="fixed") | .all_commit_details[-1].commit][0]') | sed -e 's/^"//' -e 's/"$//'`..HEAD | cat | tee changelog.txt + - echo $PATH environment: XCODE_SCHEME: CircleCI-Sample XCODE_WORKSPACE: CircleCI-Sample.xcworkspace @@ -6,14 +14,37 @@ machine: APPNAME: CircleCI-Sample PROFILE_UUID: 30fc0261-b07e-421a-8b11-ae29168827d2 TESTFLIGHT_DIST_LIST: your-dist-list-name + DYLD_LIBRARY_PATH: /Applications/Xcode-7.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib:$DYLD_LIBRARY_PATH + DYLD_FRAMEWORK_PATH: /Applications/Xcode-7.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib:$DYLD_FRAMEWORK_PATH + post: + - sudo bash -c "printf '127.0.0.1 local.jackpocket.com\n' >> /etc/hosts" + - cat /etc/hosts + xcode: + version: 7.2 dependencies: override: - - pod install: - timeout: 300 -deployment: - testflight: - branch: master - commands: - - ./scripts/add-key.sh - - ./scripts/testflight.sh - - ./scripts/remove-key.sh + - echo "do nothing" +# deployment: +# testflight: +# branch: master +# commands: +# - ./scripts/add-key.sh +# - ./scripts/testflight.sh +# - ./scripts/remove-key.sh +test: + override: + - echo "no tests" + # - | + # if [ -z $CI_PULL_REQUEST ] ; then \ + # xctool \ + # -reporter pretty \ + # CODE_SIGNING_REQUIRED=NO \ + # CODE_SIGN_IDENTITY= \ + # PROVISIONING_PROFILE= \ + # -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' \ + # -sdk iphonesimulator \ + # -workspace AtticGem.xcworkspace \ + # -scheme AtticGemTests \ + # -configuration Debug \ + # clean test; \ + # fi \ No newline at end of file