forked from NeuroJSON/jsonlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (47 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
47
48
49
50
51
52
53
os:
- linux
language:
- generic
dist:
- xenial
jobs:
include:
- os: linux
name: Octave 5.2
dist: focal
env:
- BADGE=Octave_5
- OCTAVE=octave-cli
- os: linux
name: Octave 4.2
dist: xenial
env:
- BADGE=Octave_4
- OCTAVE=octave-cli
- os: linux
name: Octave 3.8
dist: trusty
env:
- BADGE=Octave_3
- OCTAVE=octave-cli
# - os: windows
# name: Windows
# env:
# - BADGE=Windows
# - os: osx
# name: OSX
# env:
# - BADGE=OSX
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install octave; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install octave; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install octave.portable; fi
addons:
apt:
packages:
- octave
update: true
script:
- ${OCTAVE} --version
- ${OCTAVE} --eval "addpath(pwd);cd test;run_jsonlab_test"
- ${OCTAVE} --eval "addpath(pwd);cd examples; demo_jsonlab_basic; jsonlab_selftest"