Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RODARE
Invenio-GitLab
Commits
d6618169
Verified
Commit
d6618169
authored
Jul 18, 2019
by
Huste, Tobias (FWCC) - 111645
Browse files
ci: make sure npm is installed in tests
Also bump node version to 10.
parent
fca4d61e
Pipeline
#151324
failed with stages
in 3 minutes and 21 seconds
Changes
2
Pipelines
1080
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d6618169
...
...
@@ -28,8 +28,8 @@ variables:
POSTGRES_DB
:
test
before_script
:
-
curl -sL https://deb.nodesource.com/setup_
6
.x | bash -
-
apt-get -qy install --fix-missing
--no-install-recommends
nodejs
-
curl -sL https://deb.nodesource.com/setup_
10
.x | bash -
-
apt-get -qy install --fix-missing nodejs
-
pip install --upgrade pip setuptools py
-
pip install twine wheel coveralls requirements-builder
-
requirements-builder -e $EXTRAS --level=min setup.py > .ci-min-requirements.txt
...
...
examples/app-setup.sh
View file @
d6618169
...
...
@@ -15,7 +15,7 @@ export FLASK_APP=app.py
mkdir
$DIR
/instance
# install dependencies
npm
install
-g
node-sass clean-css@3 requirejs uglify-js webpack
npm
install
-g
--unsafe-perm
node-sass clean-css@3 requirejs uglify-js webpack
# install assets
flask npm
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment