Skip to content

Commit 677d834

Browse files
Merge pull request #8 from LCSB-BioCore/add-ci
Changes to CI
2 parents 972acc9 + 19951fb commit 677d834

3 files changed

Lines changed: 61 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
branches:
66
- master
77
- develop
8-
tags: '*'
9-
pull_request:
10-
release:
11-
types: [published, created]
128

139
jobs:
1410
test:

.gitlab-ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
image: $CI_REGISTRY/r3/docker/julia-custom
2+
3+
stages:
4+
- build
5+
6+
variables:
7+
GIT_STRATEGY: clone
8+
9+
.global_settings: &global_settings
10+
tags:
11+
- artenolis
12+
- slave01
13+
14+
.global_testing: &global_testing
15+
script:
16+
- $ARTENOLIS_SOFT_PATH/julia/$JULIA_VER/bin/julia --color=yes --project=@. -e 'import Pkg; Pkg.test(; coverage = true)'
17+
18+
.global_testing_win: &global_testing_win
19+
script:
20+
- Invoke-Expression $Env:ARTENOLIS_SOFT_PATH"\julia\"$Env:JULIA_VER"\bin\julia --color=yes --project=@. -e 'import Pkg; Pkg.test(; coverage = true)'"
21+
22+
linux julia v1.5:
23+
stage: build
24+
variables:
25+
JULIA_VER: "v1.5.3"
26+
<<: *global_settings
27+
<<: *global_testing
28+
29+
windows10:
30+
stage: build
31+
tags:
32+
- artenolis
33+
- windows10
34+
variables:
35+
JULIA_VER: "v1.5.3"
36+
<<: *global_testing_win
37+
38+
windows8:
39+
stage: build
40+
tags:
41+
- artenolis
42+
- windows8
43+
variables:
44+
JULIA_VER: "v1.5.3"
45+
<<: *global_testing_win

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: julia
2+
3+
branches:
4+
only:
5+
- develop
6+
- master
7+
8+
os:
9+
- linux
10+
11+
julia:
12+
- 1.0
13+
- 1.5
14+
15+
notifications:
16+
email: false

0 commit comments

Comments
 (0)