-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
42 lines (31 loc) · 836 Bytes
/
.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
language: julia
os:
- linux
- osx
- windows
dist: focal
julia:
- 1.5.3
env:
- JULIA_COPY_STACKS=0
- JULIA_COPY_STACKS=1
before_install:
- wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
- chmod a+x lein
- export JULIA_HOME=$TRAVIS_HOME/julia
- echo $TRAVIS_OS_NAME
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install jdk8; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then export PATH=$PATH:"/C/Program Files/Java/jdk1.8.0_211/bin"; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then java -version; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then export JULIA_HOME="/c/julia/"; fi
- echo $($TRAVIS_BUILD_DIR/lein)
script:
- $TRAVIS_BUILD_DIR/lein test
notifications:
email: false
jobs:
allow_failures:
- os: windows
cache:
directories:
- "$HOME/.m2"