Skip to content

Commit 32f50e8

Browse files
authored
Update CI config (#48)
1 parent 6bebe0b commit 32f50e8

File tree

3 files changed

+48
-15
lines changed

3 files changed

+48
-15
lines changed

.github/workflows/ci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-16.04
12+
env:
13+
MIX_ENV: test
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
include:
18+
- pair:
19+
elixir: 1.3.4
20+
otp: 19.3.6.13
21+
- pair:
22+
elixir: 1.11.3
23+
otp: 23.2.5
24+
lint: lint
25+
steps:
26+
- uses: actions/checkout@v2
27+
28+
- uses: erlef/setup-elixir@v1
29+
with:
30+
otp-version: ${{matrix.pair.otp}}
31+
elixir-version: ${{matrix.pair.elixir}}
32+
33+
- name: Install Dependencies
34+
run: mix deps.get --only test
35+
36+
- run: mix format --check-formatted
37+
if: ${{ matrix.lint }}
38+
39+
- run: mix deps.get && mix deps.unlock --check-unused
40+
if: ${{ matrix.lint }}
41+
42+
- run: mix deps.compile
43+
44+
- run: mix compile --warnings-as-errors
45+
if: ${{ matrix.lint }}
46+
47+
- run: mix test

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# A Make compiler for Mix
22

3-
[![Build Status](https://travis-ci.org/elixir-lang/elixir_make.svg?branch=master)](https://travis-ci.org/elixir-lang/elixir_make)
3+
[![Build Status](https://github.com/elixir-lang/elixir_make/workflows/CI/badge.svg)](https://github.com/elixir-lang/elixir_make/actions)
44

55
This project provides a Mix compiler that makes it straight-forward to use makefiles in your Mix projects.
66

0 commit comments

Comments
 (0)