Fix wrong path in scripts + try user-level install for pip

This commit is contained in:
squidfunk 2016-10-31 10:16:26 +01:00
parent 00b289bc0e
commit ee91b92c4a
6 changed files with 7 additions and 7 deletions

View File

@ -19,7 +19,7 @@
# IN THE SOFTWARE.
language: node_js
sudo: true
sudo: false
# Node.js versions
node_js:
@ -38,7 +38,7 @@ addons:
# Install dependencies
before_script:
- sudo pip install -r requirements.txt
- pip install --user -r requirements.txt
# Perform build and tests
script: npm run build

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [[ ! -d ../node_modules ]]; then
if [[ ! -d $(pwd)/node_modules ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
exit 1

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [[ ! -d ../node_modules ]]; then
if [[ ! -d $(pwd)/node_modules ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
exit 1

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [[ ! -d ../node_modules ]]; then
if [[ ! -d $(pwd)/node_modules ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
exit 1

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [[ ! -d ../node_modules ]]; then
if [[ ! -d $(pwd)/node_modules ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
exit 1

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [[ ! -d ../node_modules ]]; then
if [[ ! -d $(pwd)/node_modules ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
exit 1