diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b6603eb..0000000 --- a/.travis.yml +++ /dev/null @@ -1,34 +0,0 @@ -language: python -branches: - only: - - release - - dev -python: - - "3.9" - -before_install: - - | - if [ "$TRAVIS_BRANCH" = "dev" ] && [ "$TRAVIS_EVENT_TYPE" = "push" ]; then - echo "Push to dev, not running tests until PR" - exit 0 - else - echo "Doing the build" - fi - -install: - - cd .. - - pip install ./nxt - - pip install importlib-metadata - - pip install twine - -script: - - | - if [ "$TRAVIS_BRANCH" = "release" ] && [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then - python -m nxt.cli test - exit $? - fi - - | - if [ "$TRAVIS_BRANCH" = "release" ] && [ "$TRAVIS_EVENT_TYPE" = "push" ]; then - python -m nxt.cli exec nxt/build/packaging.nxt -s /make_and_upload - exit $? - fi \ No newline at end of file