Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
c56cd691
Commit
c56cd691
authored
Jun 18, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install extensions to connect to MySQL and PostgreSQL
parent
a06ed549
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
.travis.yml
.travis.yml
+4
-3
No files found.
.travis.yml
View file @
c56cd691
...
@@ -11,11 +11,12 @@ env:
...
@@ -11,11 +11,12 @@ env:
-
DJANGO_VERSION=1.5.1 DATABASE=sqlite
-
DJANGO_VERSION=1.5.1 DATABASE=sqlite
before_install
:
before_install
:
-
sudo apt-get update -qq
-
sudo apt-get update -qq
-
sudo apt-get install git libcairo2-dev libgtk2.0-dev libglib2.0-dev libtool libpango1.0-dev libatk1.0-dev libffi-dev
-
sudo apt-get install git libcairo2-dev libgtk2.0-dev libglib2.0-dev libtool libpango1.0-dev libatk1.0-dev libffi-dev
libpq-dev libmysqlclient-dev
# commands to install dependencies
# commands to install dependencies
install
:
install
:
-
pip install --use-mirrors Django==$DJANGO_VERSION
-
pip install --use-mirrors Django==$DJANGO_VERSION
-
pip install --use-mirrors -r requirements.txt
-
pip install --use-mirrors -r requirements.txt
-
pip install --use-mirrors mysql-python psycopg
-
if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors -r requirements-2.6.txt ; fi
-
if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors -r requirements-2.6.txt ; fi
# Environment setup
# Environment setup
-
export VIRT_ROOT=/home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION
-
export VIRT_ROOT=/home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION
...
@@ -47,8 +48,8 @@ install:
...
@@ -47,8 +48,8 @@ install:
# generate configuration and create databases
# generate configuration and create databases
before_script
:
before_script
:
-
cp weblate/settings_example.py weblate/settings.py
-
cp weblate/settings_example.py weblate/settings.py
-
if [[ $DATABASE = mysql ]] ; then mysql -e 'create database weblate;' ; fi
-
mysql -e 'create database weblate;'
-
if [[ $DATABASE = postgresql ]] ; then psql -c 'create database weblate;' -U postgres ; fi
-
psql -c 'create database weblate;' -U postgres
# commands to run tests
# commands to run tests
script
:
script
:
-
./scripts/generate-locales
-
./scripts/generate-locales
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment