2016-02-25 12:11:08 +00:00
|
|
|
language: python
|
2016-03-02 11:43:51 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
2016-02-25 12:11:08 +00:00
|
|
|
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
|
|
|
|
install:
|
2016-03-14 06:08:59 +00:00
|
|
|
- sudo apt-get purge -y mysql-common mysql-server mysql-client
|
2016-03-22 07:47:57 +00:00
|
|
|
# - sudo python $TRAVIS_BUILD_DIR/installer/install.py --user travis --skip-bench-setup
|
|
|
|
- sudo bash $TRAVIS_BUILD_DIR/install_scripts/setup_frappe.sh --skip-install-bench --mysql-root-password travis
|
2016-02-25 12:11:08 +00:00
|
|
|
- mkdir -p ~/bench-repo
|
|
|
|
- cp -r $TRAVIS_BUILD_DIR/* ~/bench-repo/
|
2016-03-22 07:47:57 +00:00
|
|
|
# - cd ~ && sudo python bench-repo/installer/install.py --only-dependencies
|
2016-02-25 12:11:08 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- cd ~
|
|
|
|
- sudo pip install --upgrade pip
|
|
|
|
- sudo pip install -e bench-repo
|
2016-02-26 06:58:01 +00:00
|
|
|
- sudo python -m unittest bench.tests.test_setup_production.TestSetupProduction.test_setup_production
|