2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-13 16:56:33 +00:00
bench/.travis.yml

23 lines
754 B
YAML
Raw Normal View History

language: python
dist: trusty
sudo: required
python:
- "2.7"
install:
- sudo apt-get remove --purge --force-yes mysql-common mysql-server mysql-client
- sudo apt-get autoremove
- sudo apt-get autoclean
2016-03-02 07:08:29 +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
- mkdir -p ~/bench-repo
- cp -r $TRAVIS_BUILD_DIR/* ~/bench-repo/
2016-03-02 07:08:29 +00:00
- cd ~ && sudo python bench-repo/installer/install.py --only-dependencies
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