Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
language: python

python:
- 3.6

sudo: false

cache:
apt: true
pip: true

matrix:
include:
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran-7
- python-pip
env:
- FC=gfortran-7
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran-8
- python-pip
env:
- FC=gfortran-8
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran-9
- python-pip
env:
- FC=gfortran-9

script:
- ${FC} --version
- cd tests
- make FC=${FC}
4 changes: 2 additions & 2 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ forpy_mod.o: ../forpy_mod.F90
$(FC) $(FFLAGS) -c -o $@ $<

../forpy_mod.F90: ../forpy_mod.fypp
python2 ../fypp.py ../forpy_mod.fypp ../forpy_mod.F90
$(PYTHON) ../fypp.py ../forpy_mod.fypp ../forpy_mod.F90

%.F90: %.fypp
python2 ../fypp.py $< $@
$(PYTHON) ../fypp.py $< $@

.PHONY: clean
clean:
Expand Down