2016-02-25 12:11:08 +00:00
|
|
|
language: python
|
2019-07-23 14:24:34 +00:00
|
|
|
dist: xenial
|
2016-02-25 12:11:08 +00:00
|
|
|
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
|
|
|
|
install:
|
2017-08-03 11:03:57 +00:00
|
|
|
- sudo pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
|
2016-03-14 06:08:59 +00:00
|
|
|
- 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
|
2018-04-27 08:06:42 +00:00
|
|
|
- sudo apt-get install hhvm && rm -rf /home/travis/.kiex/
|
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
|
|
|
|
|
2019-07-23 14:30:05 +00:00
|
|
|
- sudo python $TRAVIS_BUILD_DIR/playbooks/install.py --user travis --run-travis --production --verbose
|
2016-06-28 06:41:06 +00:00
|
|
|
# - sudo bash $TRAVIS_BUILD_DIR/install_scripts/setup_frappe.sh --skip-install-bench --mysql-root-password travis
|
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 ~
|
2018-04-17 10:43:17 +00:00
|
|
|
- sudo pip install --upgrade pip
|
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
|
2016-03-22 09:40:48 +00:00
|
|
|
- sudo python -m unittest -v bench.tests.test_setup_production
|