mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fix wrong path in scripts + try user-level install for pip
This commit is contained in:
parent
00b289bc0e
commit
ee91b92c4a
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
2
bin/lint
2
bin/lint
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user