-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (36 loc) · 895 Bytes
/
.travis.yml
File metadata and controls
38 lines (36 loc) · 895 Bytes
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
language: java
addons:
apt:
sources:
- sourceline: ppa:octave/stable
- ubuntu-toolchain-r-test
packages:
- g++-7
- octave
- liboctave-dev
- libmpfrc++-dev
- libgmp-dev
cache:
apt: true
directories:
- "$HOME/octave"
- "$HOME/external_cache"
before_install:
- git submodule update --init
install: ADDPATH_COMMAND=""
before_script:
- sudo ln -s /usr/bin/gcc-7 /usr/local/bin/gcc
- sudo ln -s /usr/bin/g++-7 /usr/local/bin/g++
- pwd
- gcc --version
- octave -q --eval "ver"
- rm -f testresults.xml;
- BUILD_BINARIES="make;"; echo "BUILD_BINARIES| $BUILD_BINARIES";
- TEST_COMMAND="exit(~run_tests(1,1));"; echo "TEST_COMMAND| $TEST_COMMAND";
script:
- octave -q --eval "$ADDPATH_COMMAND $BUILD_BINARIES $TEST_COMMAND";
after_script:
- pwd
- ls -alh
- ls -alh gem
- bash <(curl -s https://codecov.io/bash)