-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Building on many dbs * Fixing some translation related error msg
- Loading branch information
1 parent
dd662ea
commit 60ed3e4
Showing
16 changed files
with
292 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,30 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.4" | ||
- "3.5" | ||
addons: | ||
apt: | ||
sources: | ||
- deadsnakes | ||
packages: | ||
- python3.5 | ||
cache: | ||
directories: | ||
- $HOME/.wheelhouse/ | ||
env: | ||
global: | ||
- TRAVIS_CACHE=$HOME/.travis_cache/ | ||
matrix: | ||
#- TOX_ENV=py27-mysql | ||
- TOX_ENV=py27-sqlite | ||
#- TOX_ENV=py27-postgres | ||
- TOX_ENV=py34-sqlite | ||
- TOX_ENV=py34-mysql | ||
- TOX_ENV=javascript | ||
before_install: | ||
- npm install -g npm@'>=2.7.1' | ||
before_script: | ||
- mysql -e 'drop database if exists caravel; create database caravel DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci' -u root | ||
- psql -c 'create database caravel;' -U postgres | ||
- export PATH=${PATH}:/tmp/hive/bin | ||
install: | ||
- pip wheel -w $HOME/.wheelhouse -f $HOME/.wheelhouse . | ||
- pip install --find-links=$HOME/.wheelhouse --no-index . | ||
- pip install -r dev-reqs.txt | ||
- cd caravel/assets | ||
- npm --version | ||
- npm install | ||
- npm run lint | ||
- npm run prod | ||
- cd $TRAVIS_BUILD_DIR | ||
script: bash run_tests.sh | ||
after_success: | ||
- coveralls | ||
- pip install --upgrade pip | ||
- pip install tox tox-travis | ||
script: tox -e $TOX_ENV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
cd "$(dirname "$0")" | ||
npm --version | ||
npm install | ||
npm run lint | ||
npm run prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.