Skip to content

Commit 0326739

Browse files
committed
templateCI
1 parent cc95ccf commit 0326739

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

.appveyor.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ image:
22
- Visual Studio 2017
33
# - Ubuntu too old CMake 3.5
44

5+
build: off
6+
57
stack: python 3
68

79
environment:
@@ -10,21 +12,21 @@ environment:
1012

1113
clone_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

.travis.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ os:
1717

1818
env: 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

2827
before_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

3639
install:

0 commit comments

Comments
 (0)