2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 09:14:04 +00:00
bench/.travis.yml

30 lines
1.0 KiB
YAML
Raw Normal View History

language: python
dist: trusty
2017-06-22 10:50:41 +00:00
group: deprecated-2017Q2
sudo: required
python:
- "2.7"
install:
2018-01-11 09:51:09 +00:00
- sudo rm /etc/apt/sources.list.d/mongodb*.list
- sudo rm /etc/apt/sources.list.d/docker.list
- sudo pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
- sudo apt-get purge -y mysql-common mysql-server mysql-client
2016-04-28 11:56:28 +00:00
- sudo apt-get install --only-upgrade -y git
2016-06-28 06:41:06 +00:00
- mkdir -p ~/.bench
- mkdir -p /tmp/.bench
- cp -r $TRAVIS_BUILD_DIR/* ~/.bench
- cp -r $TRAVIS_BUILD_DIR/* /tmp/.bench
- sudo python $TRAVIS_BUILD_DIR/playbooks/install.py --user travis --run-travis --production
# - sudo bash $TRAVIS_BUILD_DIR/install_scripts/setup_frappe.sh --skip-install-bench --mysql-root-password travis
# - cd ~ && sudo python bench-repo/installer/install.py --only-dependencies
script:
- cd ~
2018-04-16 05:52:32 +00:00
- sudo pip install --upgrade pip==9.0.3
2016-06-28 06:41:06 +00:00
- sudo pip install -e ~/.bench
2016-04-27 13:51:46 +00:00
# - sudo python -m unittest bench.tests.test_setup_production.TestSetupProduction.test_setup_production_v6
- sudo python -m unittest -v bench.tests.test_setup_production