-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #195 from frappe/new-install
Bench v2.0
- Loading branch information
Showing
110 changed files
with
3,125 additions
and
1,175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
language: python | ||
dist: trusty | ||
sudo: required | ||
|
||
python: | ||
- "2.7" | ||
|
||
install: | ||
- sudo apt-get purge -y mysql-common mysql-server mysql-client | ||
# - 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/ | ||
# - cd ~ && sudo python bench-repo/installer/install.py --only-dependencies | ||
|
||
script: | ||
- cd ~ | ||
- sudo pip install --upgrade pip | ||
- sudo pip install -e bench-repo | ||
# - sudo python -m unittest bench.tests.test_setup_production.TestSetupProduction.test_new_site | ||
- sudo python -m unittest -v bench.tests.test_setup_production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from jinja2 import Environment, PackageLoader | ||
|
||
__version__ = "2.0.0" | ||
|
||
env = Environment(loader=PackageLoader('bench.config'), trim_blocks=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.