From 8a20f0c67f77270fc35a48efca0cbd44da9407a6 Mon Sep 17 00:00:00 2001 From: william-dawson Date: Sat, 1 Feb 2020 23:10:28 +0900 Subject: [PATCH] Travis cleanup (#137) * Cleanup Travis CI references. * Badge fix. * Try again... * Case wrong? --- .github/workflows/ci.yml | 8 +-- .travis.yml | 50 ------------------- ReadMe.md | 3 +- ...is_before_install.sh => before_install.sh} | 0 ...is_check_examples.sh => check_examples.sh} | 0 UnitTests/{travis_lint.sh => lint.sh} | 0 .../{travis_run_cmake.sh => run_cmake.sh} | 0 7 files changed, 5 insertions(+), 56 deletions(-) delete mode 100644 .travis.yml rename UnitTests/{travis_before_install.sh => before_install.sh} (100%) rename UnitTests/{travis_check_examples.sh => check_examples.sh} (100%) rename UnitTests/{travis_lint.sh => lint.sh} (100%) rename UnitTests/{travis_run_cmake.sh => run_cmake.sh} (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4aafa6ef..36bdac59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,14 +52,14 @@ jobs: steps: - uses: actions/checkout@v1 - name: setup environment - run: bash UnitTests/travis_before_install.sh + run: bash UnitTests/before_install.sh env: TESTOS: ${{ matrix.testos }} MPICH: ${{ matrix.mpich }} - name: build ntpoly run: | cd Build - bash ../UnitTests/travis_run_cmake.sh + bash ../UnitTests/run_cmake.sh make cd ../ env: @@ -76,12 +76,12 @@ jobs: - name: check examples run: | cd UnitTests - bash travis_check_examples.sh + bash check_examples.sh cd ../ env: TESTEXAMPLES: ${{ matrix.testexamples }} - name: lint run: | cd UnitTests - bash travis_lint.sh + bash lint.sh cd ../ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a5f8b08d..00000000 --- a/.travis.yml +++ /dev/null @@ -1,50 +0,0 @@ -os: linux -sudo: required -dist: bionic - -notifications: - email: false - -language: C++ - -matrix: - include: - - os: linux - sudo: required - dist: bionic - env: TESTOS="LINUX" TESTEXAMPLES=1 MAKETEST="make test" - - os: linux - sudo: required - dist: bionic - env: TESTOS="LINUX" TESTEXAMPLES=1 DEBUG=1 MAKETEST="ctest -R Regression111"" - - os: linux - sudo: required - dist: bionic - env: TESTOS="LINUX" TESTEXAMPLES=1 NOIALLGATHER=1 MAKETEST="make test" - - os: linux - sudo: required - dist: bionic - env: TESTOS="LINUX" MPICH=1 MAKETEST="ctest -R Regression211" - - os: linux - sudo: required - dist: bionic - env: TESTOS="LINUX" SKIPSWIG=1 MAKETEST=":" - - os: osx - sudo: required - env: TESTOS="OSX" MAKETEST="ctest -R Regression111" - -before_install: - - travis_wait bash UnitTests/travis_before_install.sh - -script: - - cd Build - - bash ../UnitTests/travis_run_cmake.sh - - make - - eval "$MAKETEST" - - cd ../UnitTests/ - - bash travis_check_examples.sh - - bash travis_lint.sh - -addons: - apt: - update: true diff --git a/ReadMe.md b/ReadMe.md index fc0eae49..9a1469e7 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -1,7 +1,6 @@ Project Overview ================================================================================ - -[![Build Status](https://travis-ci.com/william-dawson/NTPoly.svg?branch=master)](https://travis-ci.com/william-dawson/NTPoly) +![Build Status](https://github.com/william-dawson/NTPoly/workflows/CI/badge.svg) NTPoly is a massively parallel library for computing the functions of sparse, Hermitian matrices based on polynomial expansions. For sufficiently sparse diff --git a/UnitTests/travis_before_install.sh b/UnitTests/before_install.sh similarity index 100% rename from UnitTests/travis_before_install.sh rename to UnitTests/before_install.sh diff --git a/UnitTests/travis_check_examples.sh b/UnitTests/check_examples.sh similarity index 100% rename from UnitTests/travis_check_examples.sh rename to UnitTests/check_examples.sh diff --git a/UnitTests/travis_lint.sh b/UnitTests/lint.sh similarity index 100% rename from UnitTests/travis_lint.sh rename to UnitTests/lint.sh diff --git a/UnitTests/travis_run_cmake.sh b/UnitTests/run_cmake.sh similarity index 100% rename from UnitTests/travis_run_cmake.sh rename to UnitTests/run_cmake.sh