File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 22- Visual Studio 2017
33# - Ubuntu too old CMake 3.5
44
5+ build : off
6+
57stack : python 3
68
79environment :
@@ -10,21 +12,21 @@ environment:
1012
1113clone_depth : 3
1214
13- before_build :
15+ init :
1416- cmd : set PATH=%MINGW_DIR%;%PY_DIR%;%PY_DIR%\Scripts;%PATH%
1517
1618- sh : sudo apt-get -yq update > /dev/null
1719- sh : sudo apt-get install -yq --no-install-suggests --no-install-recommends gfortran cmake make > /dev/null
1820
19- build_script :
21+ install :
2022- pip install -e .[tests]
2123
2224- cd bin
2325- cmd : cmake -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND" ..
2426- sh : cmake ..
2527- cmake --build .
2628
27- after_build :
29+ test_script :
2830- ctest -V
2931- cd ..
3032- pytest -xsv
Original file line number Diff line number Diff line change 1717
1818env : FC=gfortran-6
1919
20- addons :
21- apt :
22- sources :
23- - ubuntu-toolchain-r-test
24- packages :
25- - gfortran-6
20+ # FIXME: temporary for travis xenial
21+ # addons:
22+ # apt:
23+ # sources: ubuntu-toolchain-r-test
24+ # packages: gfortran-6
2625
2726
2827before_install :
@@ -31,6 +30,10 @@ before_install:
3130 brew install gcc > /dev/null || brew link --overwrite gcc > /dev/null;
3231 export FC=gfortran;
3332 brew install opencoarrays > /dev/null;
33+ else
34+ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y;
35+ sudo apt-get update -q;
36+ sudo apt-get install -yq gfortran-6;
3437 fi
3538
3639install :
You can’t perform that action at this time.
0 commit comments