Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing #12

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
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
@@ -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: