-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.travis.yml
executable file
·46 lines (46 loc) · 1.03 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: julia
notifications:
email:
on_success: change
on_failure: always
codecov: true
coveralls: true
git:
depth: false
os:
- linux
- osx
- windows
arch:
- x64
julia:
- 1.0
- 1.5
- 1.6
matrix:
exclude:
- os: osx
arch: arm64
- os: windows
arch: arm64
allow_failures:
- os: windows
- arch: arm64
after_success:
- julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(Codecov.process_folder())'
after_failure:
- tail -100 test/runtests.log
before_install:
- cd test
- git clone https://github.com/jpjones76/SeisIO-TestData TestData
- ln -s TestData/SampleFiles/ .
- cd SampleFiles
- openssl aes-256-cbc -K $encrypted_91c8855269b0_key -iv $encrypted_91c8855269b0_iv -in restricted.enc -out restricted.tar.gz -d
- tar zxvf restricted.tar.gz
- rm -f restricted.tar.gz
- cd ../..
before_script:
- julia -e 'println("arch = ", Sys.ARCH)'
script:
- if [[ -a .git/shallow ]]; then git fetch; fi
- julia -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true);'