From 4f765c35e954ec86f91f68b6b804406a970ffdfd Mon Sep 17 00:00:00 2001 From: atoll Date: Wed, 21 Jul 2021 13:45:00 -0700 Subject: [PATCH] ci: Convert .travis.yml to GitHub Actions This converts most functionality, excluding Slack notifications, from the Travis-CI.org configuration file into the GitHub Actions config. Slack notifications will be taken up separately using the various options available to us, and may result in a future pull request. --- .github/workflows/make-test.yml | 17 +++++++++++++++++ .travis.yml | 18 ------------------ 2 files changed, 17 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/make-test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/make-test.yml b/.github/workflows/make-test.yml new file mode 100644 index 00000000..a11bec6d --- /dev/null +++ b/.github/workflows/make-test.yml @@ -0,0 +1,17 @@ +name: make-test + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: docker/login-action@v1 + with: + # GitHub.com > (this repo) > Settings > Secrets + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + - name: Run make test + run: | + make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d55b4c68..00000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -language: python -dist: xenial -python: - - 3.7 -services: - - docker -env: - - DOCKER_COMPOSE_VERSION=1.23.2 -before_install: - - sudo rm /usr/local/bin/docker-compose - - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - - chmod +x docker-compose - - sudo mv docker-compose /usr/local/bin -script: - - make test -notifications: - slack: - secure: FVpmugohZ98gdZ/672iECx6M3yDnf89mahnNi5E517f0PXakS1lBphVwEJz58ZUbrSMYK3bURrsHNSgUsW3BNE+BD6TvtUDFzaIzODym/JvcJmuIBt/Nu/f6LIy3EuF7FqI855VNcGvF5R5akI2YCMGCMIDxu1oXqInCA+HRiuzniqdM/tNZQgmbT2ZnpAkenxpnSuUgghORTaQcwclk13GIwqVnwpRdUiti3zoETa3VDQ64u7+6BUZBKEFC3DVxwKbEJybwyx3dhAzMr9rXywJP+TnrWeh5ArcPuhJJesmPvdKYsLE4gdhTRo3V4/9ZtiwTuss/gu6S1USqirJjRWH9uGDDIC6MArX2C1Zn8Fbo7WO/My+reE0EBu0jo1a8DtM3MU3ACDimRHDQfp9ynU2tbetyfUXpqGfK5Me1NBl0ugWBW0VsHAq9ABuA4IEWB24Ju8BWSgrVrV9xkl9teFcssiXvFTw8VFCt29PjApgON7WsM/x349e951i5Yfw2DV6RSnSjY6vaK2SEAh43Ij+yvokAtHc5Fwyx8dvTbuANsJD0zlzOmYUcVfs6mkcLupU8WTg7dhXBagSh9UBvRo4RfUfetGM0CGT6QUFmrWqQij2WZwqfLPjS6SV1xk66iwmijZZfq1NsBMKeYlaiDXH+qkvrMZRSol4s31lAXaI=