Skip to content

Commit 866b0a9

Browse files
authored
Merge pull request #24 from JuliaString/spj/updateci
Update version, add Julia v1.6 to testing
2 parents 88fb11d + ba2e16f commit 866b0a9

File tree

5 files changed

+49
-46
lines changed

5 files changed

+49
-46
lines changed

.drone.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,27 @@
11
---
22
kind: pipeline
3-
name: linux - arm - Julia 1.0
4-
5-
platform:
6-
os: linux
7-
arch: arm
8-
9-
steps:
10-
- name: build
11-
image: julia:1.0
12-
commands:
13-
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
14-
15-
---
16-
kind: pipeline
17-
name: linux - arm64 - Julia 1.0
3+
name: linux - arm64 - Julia 1.5
184

195
platform:
206
os: linux
217
arch: arm64
228

239
steps:
2410
- name: build
25-
image: julia:1.0
11+
image: julia:1.5
2612
commands:
2713
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
2814

2915
---
3016
kind: pipeline
31-
name: linux - arm64 - Julia 1.5
17+
name: linux - arm64 - Julia 1.6
3218

3319
platform:
3420
os: linux
3521
arch: arm64
3622

3723
steps:
3824
- name: build
39-
image: julia:1.5
25+
image: julia:1.6
4026
commands:
4127
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
version:
13+
- '1.5'
14+
- '1.6'
15+
- 'nightly'
16+
os:
17+
- ubuntu-latest
18+
- macOS-latest
19+
- windows-latest
20+
arch:
21+
- x64
22+
- x86
23+
exclude:
24+
- os: macOS-latest
25+
arch: x86
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: julia-actions/setup-julia@v1
29+
with:
30+
version: ${{ matrix.version }}
31+
arch: ${{ matrix.arch }}
32+
- uses: actions/cache@v1
33+
env:
34+
cache-name: cache-artifacts
35+
with:
36+
path: ~/.julia/artifacts
37+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
38+
restore-keys: |
39+
${{ runner.os }}-test-${{ env.cache-name }}-
40+
${{ runner.os }}-test-
41+
${{ runner.os }}-
42+
- uses: julia-actions/julia-buildpkg@v1
43+
- uses: julia-actions/julia-runtest@v1

.travis.yml

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

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ keywords = ["Entities", "LaTeX"]
44
license = "MIT"
55
name = "LaTeX_Entities"
66
uuid = "9927f19a-46ce-5bdd-a20a-f46a78b61e3d"
7-
version = "1.0.1"
7+
version = "1.0.2"
88

99
[deps]
1010
StrTables = "9700d1a9-a7c8-5760-9816-a99fda30bb8f"

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using StrTables, LaTeX_Entities
22

3-
@static VERSION < v"0.7.0-DEV" ? (using Base.Test) : (using Test)
3+
using Test
44

55
const def = LaTeX_Entities.default
66

0 commit comments

Comments
 (0)