Remove Travis and Slather configs, as well as run_tests_update_status.sh (#1633)

We no longer use Travis CI. We haven't found Slather useful. Garrett said run_tests_update_status.sh can be removed as well.
This commit is contained in:
Huy Nguyen
2019-08-22 10:39:51 -07:00
committed by GitHub
parent fff7763279
commit 015e4e463b
3 changed files with 0 additions and 83 deletions
-5
View File
@@ -1,5 +0,0 @@
ci_service: travis_ci
coverage_service: coveralls
xcodeproj: AsyncDisplayKit.xcodeproj
source_directory: AsyncDisplayKit
-34
View File
@@ -1,34 +0,0 @@
language: objective-c
cache:
- bundler
- cocoapods
osx_image: xcode8.1
git:
depth: 10
before_install:
- brew update
- brew outdated xctool || brew upgrade xctool
- brew outdated carthage || brew upgrade carthage
- gem install cocoapods -v 1.0.1
- gem install xcpretty -v 0.2.2
- gem install xcpretty-travis-formatter
# - gem install slather
- xcrun simctl list
install: echo "<3"
env:
- MODE=tests
- MODE=tests_listkit
- MODE=examples-pt1
- MODE=examples-pt2
- MODE=examples-pt3
- MODE=life-without-cocoapods
- MODE=framework
script: ./build.sh $MODE
#after_success:
# - slather
# whitelist
branches:
only:
- master
-44
View File
@@ -1,44 +0,0 @@
#!/usr/bin/env bash
set -eo pipefail
UPDATE_STATUS_PATH=$1
BUILDKITE_PULL_REQUEST=$2
BUILDKITE_BUILD_URL=$3
function updateStatus() {
if [ "${BUILDKITE_PULL_REQUEST}" != "false" ] ; then
${UPDATE_STATUS_PATH} "TextureGroup" "Texture" ${BUILDKITE_PULL_REQUEST} "$1" ${BUILDKITE_BUILD_URL} "$2" "CI/Pinterest" "$3"
fi
}
if [[ -z "${UPDATE_STATUS_PATH}" || -z "${BUILDKITE_PULL_REQUEST}" || -z "${BUILDKITE_BUILD_URL}" ]] ; then
echo "Update status path (${UPDATE_STATUS_PATH}), pull request (${BUILDKITE_BUILD_URL}) or build url (${BUILDKITE_PULL_REQUEST}) unset."
trap - EXIT
exit 255
fi
trapped="false"
function trap_handler() {
if [[ "$trapped" = "false" ]]; then
updateStatus "failure" "Tests failed…" `pwd`/log.txt
echo "Tests failed, updated status to failure"
rm `pwd`/log.txt
fi
trapped="true"
}
trap trap_handler INT TERM EXIT
updateStatus "pending" "Starting build…"
echo "--- Running Danger"
bundle exec danger --verbose 2>&1|tee `pwd`/log.txt
./build.sh all 2>&1|tee `pwd`/log.txt
rm `pwd`/log.txt
updateStatus "success" "Tests passed"
echo "All tests succeeded, updated status to success"
trap - EXIT
exit 0