Newer
Older
- deploy
image: funkwhale/funkwhale:base
- cd api
- pip install -r requirements/test.txt
build_front:
stage: build
image: node:6-alpine
before_script:
- cd front
script:
- npm install
- npm run build
cache:
key: "$CI_COMMIT_REF_NAME"
paths:
- front/node_modules
artifacts:
name: "front_${CI_COMMIT_REF_NAME}"
paths:
- front/dist/
only:
- master
- develop
tags:
- docker
Eliot Berriot
committed
image: alpine
before_script:
- cd docs
script:
- apk --no-cache add py2-pip python-dev
- pip install sphinx
- apk --no-cache add make
- make html
artifacts:
paths:
- public
only:
docker_image:
stage: test
before_script:
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD