make scripts executable, running them with sh does something weird on travis

This commit is contained in:
Bruno Windels 2018-07-27 16:01:54 +02:00
parent edf37e3592
commit c3b7e6c7cb
9 changed files with 8 additions and 8 deletions

View file

@ -35,14 +35,14 @@ puppeteer.launch({headless: false});
### Setup ### Setup
Run `sh install.sh`. This will: Run `./install.sh`. This will:
- install synapse, fetches the master branch at the moment. If anything fails here, please refer to the synapse README to see if you're missing one of the prerequisites. - install synapse, fetches the master branch at the moment. If anything fails here, please refer to the synapse README to see if you're missing one of the prerequisites.
- install riot, this fetches the master branch at the moment. - install riot, this fetches the master branch at the moment.
- install dependencies (will download copy of chrome) - install dependencies (will download copy of chrome)
### Run tests ### Run tests
Run tests with `sh run.sh`. Run tests with `./run.sh`.
Developer Guide Developer Guide
=============== ===============

4
install.sh Normal file → Executable file
View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# run with PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true sh install.sh if chrome is already installed # run with PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true sh install.sh if chrome is already installed
sh synapse/install.sh ./synapse/install.sh
sh riot/install.sh ./riot/install.sh
npm install npm install

0
riot/install.sh Normal file → Executable file
View file

0
riot/start.sh Normal file → Executable file
View file

0
riot/stop.sh Normal file → Executable file
View file

8
run.sh Normal file → Executable file
View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
sh synapse/start.sh ./synapse/start.sh
sh riot/start.sh ./riot/start.sh
node start.js node start.js
sh riot/stop.sh ./riot/stop.sh
sh synapse/stop.sh ./synapse/stop.sh

0
synapse/install.sh Normal file → Executable file
View file

0
synapse/start.sh Normal file → Executable file
View file

0
synapse/stop.sh Normal file → Executable file
View file