From f47132ae666da3cc29f5788a81cdfc0d58b48ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ege=20Emir=20=C3=96zkan?= Date: Mon, 10 Aug 2020 03:32:16 +0300 Subject: [PATCH] Depacrated travis --- .travis.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bcdf647..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -dist: trusty -language: python -python: - - "3.8" -# command to install dependencies -install: - - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - - chmod +x ./cc-test-reporter - - pip install -r requirments.txt -# for codecoverage on codeclimate.com -env: - global: - - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi) - - CODECLIMATE_REPO_TOKEN=[token] - - CC_TEST_REPORTER_ID=[id] - -before_script: - - ./cc-test-reporter before-build - -script: - - "coverage run -m unittest test/main_tests.py" - -after_script: - - coverage xml - - if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi -# command to run tests \ No newline at end of file