mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
travis permissions fix
This commit is contained in:
parent
58d15e2870
commit
814c4565cb
@ -1,6 +1,5 @@
|
|||||||
language: python
|
language: python
|
||||||
dist: trusty
|
dist: trusty
|
||||||
group: deprecated-2017Q2
|
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
python:
|
python:
|
||||||
@ -12,6 +11,7 @@ install:
|
|||||||
- sudo pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
|
- sudo pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
|
||||||
- sudo apt-get purge -y mysql-common mysql-server mysql-client
|
- sudo apt-get purge -y mysql-common mysql-server mysql-client
|
||||||
- sudo apt-get install --only-upgrade -y git
|
- sudo apt-get install --only-upgrade -y git
|
||||||
|
- sudo apt-get install hhvm && rm -rf /home/travis/.kiex/
|
||||||
- mkdir -p ~/.bench
|
- mkdir -p ~/.bench
|
||||||
- mkdir -p /tmp/.bench
|
- mkdir -p /tmp/.bench
|
||||||
- cp -r $TRAVIS_BUILD_DIR/* ~/.bench
|
- cp -r $TRAVIS_BUILD_DIR/* ~/.bench
|
||||||
|
@ -14,16 +14,6 @@
|
|||||||
owner: '{{ frappe_user }}'
|
owner: '{{ frappe_user }}'
|
||||||
group: '{{ frappe_user }}'
|
group: '{{ frappe_user }}'
|
||||||
recurse: yes
|
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
|
- name: Set /tmp/.bench folder perms
|
||||||
file:
|
file:
|
||||||
@ -31,7 +21,6 @@
|
|||||||
owner: '{{ frappe_user }}'
|
owner: '{{ frappe_user }}'
|
||||||
group: '{{ frappe_user }}'
|
group: '{{ frappe_user }}'
|
||||||
recurse: yes
|
recurse: yes
|
||||||
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'CentOS' or ansible_distribution == 'Debian'
|
|
||||||
|
|
||||||
- name: Change default shell to bash
|
- name: Change default shell to bash
|
||||||
shell: "chsh {{ frappe_user }} -s $(which bash)"
|
shell: "chsh {{ frappe_user }} -s $(which bash)"
|
||||||
|
Loading…
Reference in New Issue
Block a user