diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3d7d3fb6..3cc3e1c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,7 +40,7 @@ jobs: run: | python -m pytest --cov=. --cov-report term-missing --cov-fail-under 89 --doctest-modules --junitxml=junit/test-results-${{ matrix.python-version }}.xml - name: Test command line - shell: bash -el {0) + shell: bash -el {0} run: | ./test/cmdline_tests.sh - name: Upload pytest test results diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 503e49ff..00000000 --- a/.travis.yml +++ /dev/null @@ -1,55 +0,0 @@ -language: python - -jobs: - include: - - os: linux - python: 3.5 - - os: linux - python: 3.6 - - os: osx - osx_image: xcode12 - language: generic - env: PYTHON=36 - before_install: - - pip3 install virtualenv - - virtualenv -p python3 ~/venv - - source ~/venv/bin/activate - - python --version - - pip install -U --upgrade pip - - pip install -U pytest - - pip install -U pytest-cov - - pip install -U codecov - - pip install -U virtualenv - - wget https://github.com/samtools/bcftools/releases/download/1.10.2/bcftools-1.10.2.tar.bz2 - - tar -jvxf bcftools-1.10.2.tar.bz2 - - cd bcftools-1.10.2 && make && sudo make install && cd .. - - wget https://github.com/samtools/htslib/releases/download/1.10.2/htslib-1.10.2.tar.bz2 - - tar -jvxf htslib-1.10.2.tar.bz2 - - cd htslib-1.10.2 && make && sudo make install && cd .. - -before_install: # for linux jobs - - sudo apt-get update - # attempt to get cyvcf2 working, it requires a SHA256 'symbol' - - sudo apt-get -y install -y libcrypto++-dev libssl-dev libcurl4-openssl-dev - - python --version - - pip install -U --upgrade pip - - pip install -U pytest - - pip install -U pytest-cov - - pip install -U codecov - - pip install -U virtualenv - - wget https://github.com/samtools/bcftools/releases/download/1.10.2/bcftools-1.10.2.tar.bz2 - - tar -jvxf bcftools-1.10.2.tar.bz2 - - cd bcftools-1.10.2 && make && sudo make install && cd .. - - wget https://github.com/samtools/htslib/releases/download/1.10.2/htslib-1.10.2.tar.bz2 - - tar -jvxf htslib-1.10.2.tar.bz2 - - cd htslib-1.10.2 && make && sudo make install && cd .. - -install: - - pip install . - -script: - - python -m pytest --cov=. - - sh test/cmdline_tests.sh - -after_success: - - codecov