CI: Use GitHub Actions instead of Travis

Travis has strongly limited their free CI service.

It is not available and freely usable by default anymore, rather people have to explicitly request Credits for their open source projects. Only if granted, Travis can be used further. Every minute CI is running it costs a certain amount of Credits. Once there are none left, people would have to request Credits again.

On the other hand, this repository is already hosted on GitHub. Making the freely available GitHub Actions an obvious and hassle free choice.

Some references for the Travis CI changes:

https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing

https://blog.travis-ci.com/oss-announcement
pull/3/head
Cr0ydon 3 years ago committed by Croydon
parent f426846cc4
commit 99b462da19
  1. 14
      .github/workflows/template.yml
  2. 11
      .travis.yml

@ -0,0 +1,14 @@
on: [push, pull_request]
name: template
jobs:
test-latex-template:
runs-on: ubuntu-20.04
name: Test LaTeX Template
steps:
- uses: actions/checkout@v2
- name: Build
run: |
docker pull mbredel/thesis-template:latest
docker run --volume $(pwd):/thesis-template/ mbredel/thesis-template:latest

@ -1,11 +0,0 @@
sudo: required
dist: trusty
branches:
only:
- master
services:
- docker
before_install:
- docker pull mbredel/thesis-template:latest
script:
- docker run --volume $(pwd):/thesis-template/ mbredel/thesis-template:latest
Loading…
Cancel
Save