Skip to content

Commit

Permalink
Fix c2cgeoportal version
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 29, 2015
1 parent 4583c1c commit fcbda9d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,13 @@ script:
- .build/venv/bin/python setup.py nosetests --stop --nocapture --nologcapture
- git checkout c2cgeoportal/locale/*/LC_MESSAGES/c2cgeoportal.po
- travis/status.sh
# verify version in CONST_version.txt
- if [[ ${TRAVIS_TAG} =~ ^[0-9].[0-9]+.[0-9]$ ]] ; then test `head -n 1 c2cgeoportal/scaffolds/update/CONST_versions.txt|awk -F '==' '{{print $1}}'` = c2cgeoportal ; fi
- if [[ ${TRAVIS_TAG} =~ ^[0-9].[0-9]+.[0-9]$ ]] ; then test `head -n 1 c2cgeoportal/scaffolds/update/CONST_versions.txt|awk -F '==' '{{print $2}}'` = ${TRAVIS_TAG} ; fi
# verify c2cgeoportal version
- if [[ ${TRAVIS_TAG} =~ ^[0-9].[0-9]+.[0-9]$ ]] ; then test `grep c2cgeoportal== c2cgeoportal/scaffolds/update/CONST_requirements.txt|awk -F '==' '{{print $2}}'` = ${TRAVIS_TAG} ; fi
- if [[ ${TRAVIS_TAG} =~ ^[0-9].[0-9]+.[0-9]$ ]] ; then test `grep c2cgeoportal-win== c2cgeoportal/scaffolds/update/CONST_requirements_windows.txt|awk -F '==' '{{print $2}}'` = ${TRAVIS_TAG} ; fi
- if [[ ${TRAVIS_TAG} =~ ^[0-9].[0-9]+.[0-9]$ ]] ; then test `python setup.py --version` = ${TRAVIS_TAG} ; fi
- if [[ ${TRAVIS_TAG} =~ ^[0-9].[0-9]+.0rc[0-9]$ ]] ; then test `grep c2cgeoportal== c2cgeoportal/scaffolds/update/CONST_requirements.txt|awk -F '==' '{{print $2}}'` = ${TRAVIS_TAG} ; fi
- if [[ ${TRAVIS_TAG} =~ ^[0-9].[0-9]+.0rc[0-9]$ ]] ; then test `grep c2cgeoportal-win== c2cgeoportal/scaffolds/update/CONST_requirements_windows.txt|awk -F '==' '{{print $2}}'` = ${TRAVIS_TAG} ; fi
- if [[ ${TRAVIS_TAG} =~ ^[0-9].[0-9]+.0rc[0-9]$ ]] ; then test `python setup.py --version` = ${TRAVIS_TAG} ; fi

after_failure:
- .build/venv/bin/python setup.py nosetests
Expand Down

0 comments on commit fcbda9d

Please sign in to comment.