2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-22 20:19:01 +00:00

travis permissions fix

This commit is contained in:
Ameya Shenoy 2018-04-27 13:36:42 +05:30
parent 58d15e2870
commit 814c4565cb
No known key found for this signature in database
GPG Key ID: 735490161CD5C91E
2 changed files with 2 additions and 13 deletions

View File

@ -1,6 +1,5 @@
language: python
dist: trusty
group: deprecated-2017Q2
sudo: required
python:
@ -12,6 +11,7 @@ install:
- sudo pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
- sudo apt-get purge -y mysql-common mysql-server mysql-client
- sudo apt-get install --only-upgrade -y git
- sudo apt-get install hhvm && rm -rf /home/travis/.kiex/
- mkdir -p ~/.bench
- mkdir -p /tmp/.bench
- cp -r $TRAVIS_BUILD_DIR/* ~/.bench

View File

@ -14,16 +14,6 @@
owner: '{{ frappe_user }}'
group: '{{ frappe_user }}'
recurse: yes
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'CentOS' or ansible_distribution == 'Debian'
- name: Set home folder perms
file:
path: '/Users/{{ frappe_user }}'
mode: 'o+rx'
owner: '{{ frappe_user }}'
group: '{{ frappe_user }}'
recurse: yes
when: ansible_distribution == 'MacOSX'
- name: Set /tmp/.bench folder perms
file:
@ -31,8 +21,7 @@
owner: '{{ frappe_user }}'
group: '{{ frappe_user }}'
recurse: yes
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'CentOS' or ansible_distribution == 'Debian'
- name: Change default shell to bash
shell: "chsh {{ frappe_user }} -s $(which bash)"
...
...