2016-02-25 17:41:08 +05:30
|
|
|
language: python
|
2016-03-02 17:13:51 +05:30
|
|
|
dist: trusty
|
2017-06-22 16:20:41 +05:30
|
|
|
group: deprecated-2017Q2
|
2016-03-02 17:13:51 +05:30
|
|
|
sudo: required
|
2016-02-25 17:41:08 +05:30
|
|
|
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
|
|
|
|
install:
|
2018-01-11 15:21:09 +05:30
|
|
|
- sudo rm /etc/apt/sources.list.d/mongodb*.list
|
2017-08-03 16:33:57 +05:30
|
|
|
- sudo rm /etc/apt/sources.list.d/docker.list
|
|
|
|
- sudo pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
|
2016-03-14 11:38:59 +05:30
|
|
|
- sudo apt-get purge -y mysql-common mysql-server mysql-client
|
2016-04-28 17:26:28 +05:30
|
|
|
- sudo apt-get install --only-upgrade -y git
|
2016-06-28 12:11:06 +05:30
|
|
|
- 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
|
2016-03-22 13:17:57 +05:30
|
|
|
# - cd ~ && sudo python bench-repo/installer/install.py --only-dependencies
|
2016-02-25 17:41:08 +05:30
|
|
|
|
|
|
|
script:
|
|
|
|
- cd ~
|
2018-04-16 11:22:32 +05:30
|
|
|
- sudo pip install --upgrade pip==9.0.3
|
2016-06-28 12:11:06 +05:30
|
|
|
- sudo pip install -e ~/.bench
|
2016-04-27 19:21:46 +05:30
|
|
|
# - sudo python -m unittest bench.tests.test_setup_production.TestSetupProduction.test_setup_production_v6
|
2016-03-22 15:10:48 +05:30
|
|
|
- sudo python -m unittest -v bench.tests.test_setup_production
|