Commit 64adb3c7 authored by Michal Čihař's avatar Michal Čihař

Rename CI files

Let's make the folder name generic for all CI services.
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 54676fd4
...@@ -24,7 +24,7 @@ before_install: ...@@ -24,7 +24,7 @@ before_install:
install: install:
- timestamp.sh install - timestamp.sh install
- pip install $DJANGO_PIP - pip install $DJANGO_PIP
- pip install -r requirements-optional.txt -r travis/requirements.txt -r travis/requirements-${TRAVIS_DATABASE:-sqlite}.txt -r ${BUILD_TREND_HOME}/requirements.txt - pip install -r requirements-optional.txt -r ci/requirements-travis.txt -r ci/requirements-${TRAVIS_DATABASE:-sqlite}.txt -r ${BUILD_TREND_HOME}/requirements.txt
# create databases # create databases
before_script: before_script:
- timestamp.sh before_script - timestamp.sh before_script
...@@ -38,7 +38,7 @@ script: ...@@ -38,7 +38,7 @@ script:
- timestamp.sh tests - timestamp.sh tests
- if [ -n "$DO_LINT" ] ; then ./scripts/generate-locales ; fi - if [ -n "$DO_LINT" ] ; then ./scripts/generate-locales ; fi
- if [ -z "$DO_LINT" ] ; then ./manage.py validate --settings weblate.settings_test ; fi - if [ -z "$DO_LINT" ] ; then ./manage.py validate --settings weblate.settings_test ; fi
- if [ "$TRAVIS_DATABASE" = sqlite -a -z "$DO_LINT" ] ; then ./travis/migrate-testing ; fi - if [ "$TRAVIS_DATABASE" = sqlite -a -z "$DO_LINT" ] ; then ./ci/migrate-testing ; fi
- if [ -z "$DO_LINT" ] ; then ./manage.py syncdb --noinput --settings weblate.settings_test ; fi - if [ -z "$DO_LINT" ] ; then ./manage.py syncdb --noinput --settings weblate.settings_test ; fi
- if [ -z "$DO_LINT" ] ; then ./manage.py migrate --settings weblate.settings_test --traceback ; fi - if [ -z "$DO_LINT" ] ; then ./manage.py migrate --settings weblate.settings_test --traceback ; fi
- if [ -z "$DO_LINT" ] ; then coverage run --source=. ./manage.py test --settings weblate.settings_test $TRAVIS_RUN_TESTS ; fi - if [ -z "$DO_LINT" ] ; then coverage run --source=. ./manage.py test --settings weblate.settings_test $TRAVIS_RUN_TESTS ; fi
......
Continuous integration for Weblate
==================================
Helper files for continuous itegration.
Shippable:
https://app.shippable.com/projects/5462129bc6f0803064f4203f/builds/latest)
Travis:
https://travis-ci.org/nijel/weblate
pep8
pylint
pylint-django
pyflakes
selenium
httpretty!=0.8.1
unittest-xml-reporting
...@@ -19,7 +19,7 @@ env: ...@@ -19,7 +19,7 @@ env:
# commands to install dependencies # commands to install dependencies
install: install:
- pip install $DJANGO_PIP - pip install $DJANGO_PIP
- pip install -r requirements-optional.txt -r travis/requirements.txt -r travis/requirements-${TRAVIS_DATABASE:-sqlite}.txt - pip install -r requirements-optional.txt -r ci/requirements-shippable.txt -r ci/requirements-${TRAVIS_DATABASE:-sqlite}.txt
# create databases # create databases
before_script: before_script:
- mysql -e 'DROP DATABASE IF EXISTS weblate;' - mysql -e 'DROP DATABASE IF EXISTS weblate;'
...@@ -32,7 +32,7 @@ before_script: ...@@ -32,7 +32,7 @@ before_script:
script: script:
- if [ -n "$DO_LINT" ] ; then ./scripts/generate-locales ; fi - if [ -n "$DO_LINT" ] ; then ./scripts/generate-locales ; fi
- if [ -z "$DO_LINT" ] ; then ./manage.py validate --settings weblate.settings_test_shippable ; fi - if [ -z "$DO_LINT" ] ; then ./manage.py validate --settings weblate.settings_test_shippable ; fi
- if [ "$TRAVIS_DATABASE" = sqlite -a -z "$DO_LINT" ] ; then ./travis/migrate-testing ; fi - if [ "$TRAVIS_DATABASE" = sqlite -a -z "$DO_LINT" ] ; then ./ci/migrate-testing ; fi
- if [ -z "$DO_LINT" ] ; then ./manage.py syncdb --noinput --settings weblate.settings_test_shippable ; fi - if [ -z "$DO_LINT" ] ; then ./manage.py syncdb --noinput --settings weblate.settings_test_shippable ; fi
- if [ -z "$DO_LINT" ] ; then ./manage.py migrate --settings weblate.settings_test_shippable --traceback ; fi - if [ -z "$DO_LINT" ] ; then ./manage.py migrate --settings weblate.settings_test_shippable --traceback ; fi
- if [ -z "$DO_LINT" ] ; then coverage run --source=. ./manage.py test --settings weblate.settings_test_shippable $TRAVIS_RUN_TESTS ; fi - if [ -z "$DO_LINT" ] ; then coverage run --source=. ./manage.py test --settings weblate.settings_test_shippable $TRAVIS_RUN_TESTS ; fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment