Skip to content

Commit 2b4b54d

Browse files
committed
Fix .travis.yml README.md builds
- Restrict example programs in README.md to be named example* to prevent confusion with other .md files when renaming extracted programs from README.md - Fixes a problem where new .md files are being interpreted as f90 sources
1 parent b30fb43 commit 2b4b54d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ install:
5050
- sudo ln -fs /usr/bin/gcov-4.9 /usr/bin/gcov && gcov --version
5151
- if [[ $FoBiS == [yY]* ]]; then sudo -H pip install FoBiS.py && FoBiS.py --version; fi
5252
- if [[ $DOCS == [yY]* ]]; then sudo -H pip install ford && ford --version; fi
53-
- if [[ $CHECK_README_PROGS == [yY]* ]]; then gfortran -o f90split f90split.f90 && ./f90split README.md && shopt -s extglob && for f in !(README|CONTRIBUTING).md; do mv $f src/tests/jf_test_${f%.md}.f90; done; rm f90split.f90 f90split; fi
53+
- if [[ $CHECK_README_PROGS == [yY]* ]]; then gfortran -o f90split f90split.f90 && ./f90split README.md && for f in example*.md; do mv $f src/tests/jf_test_${f%.md}.f90; done; rm f90split.f90 f90split; fi
5454

5555
script:
5656
- echo $BUILD_SCRIPT
@@ -61,4 +61,4 @@ after_success:
6161
- if [[ $CODE_COVERAGE == [yY]* ]]; then bash <(curl -s https://codecov.io/bash) ; fi
6262
- git config --global user.name "TRAVIS-CI-for-$(git --no-pager show -s --format='%cn' $TRAVIS_COMMIT)"
6363
- git config --global user.email "$(git --no-pager show -s --format='%ce' $TRAVIS_COMMIT)"
64-
- ./deploy.sh #handles updating documentation for master branch as well as tags
64+
#broken for now# - ./deploy.sh #handles updating documentation for master branch as well as tags

0 commit comments

Comments
 (0)