From 4b541c9df22179400154d1690c709fe0fa29c3c6 Mon Sep 17 00:00:00 2001 From: Amy Wooding Date: Wed, 1 Feb 2023 11:40:18 -0500 Subject: [PATCH] remove travis.ci testing --- .travis.yml | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b110146..0000000 --- a/.travis.yml +++ /dev/null @@ -1,51 +0,0 @@ -language: python - -cache: - directories: - - $HOME/.cache/pip - -python: - - "3.8" - -envs: - - REQUIRED_PYTHON="python3" - -install: - # install miniconda - - deactivate - - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - - MINICONDA_PATH=/home/travis/miniconda3 - - chmod +x miniconda.sh && ./miniconda.sh -b -p $MINICONDA_PATH - - chmod +x $MINICONDA_PATH - - export PATH=$MINICONDA_PATH/condabin:$PATH - - conda update --yes conda - # create cookiecutter environment - - conda create -n cookiecutter --yes python=3.8 - - conda init bash - - . ~/.bashrc - - conda activate cookiecutter - - pip install cookiecutter - - pip install ruamel.yaml - -script: - - pwd - # build a cookiecutter project test-env - - cookiecutter --config-file .cookiecutter-easydata-test.yml . -f --no-input - - conda deactivate - # create the environment from test-env - - cd test-env - - make create_environment - - conda activate test-env - - touch environment.yml - - make update_environment - # create test dataset - - python src/tests/make_test_datasets.py - # run tests on the src module - - export CI_RUNNING=yes - - make test_with_coverage - # test notebooks in docs - - pytest -v ../docs/test_docs.py - -after_success: - - conda activate test-env - - coveralls \ No newline at end of file