Commit a0e64e4a authored by Jakob Antonius Baatz's avatar Jakob Antonius Baatz
Browse files

#47 add artifacts and build job

parent 95e87bb3
Pipeline #4542 passed with stages
in 1 minute and 27 seconds
...@@ -9,18 +9,24 @@ before_script: ...@@ -9,18 +9,24 @@ before_script:
- conda update conda -y - conda update conda -y
- conda env create -f environment.yaml - conda env create -f environment.yaml
- source activate myenv - source activate myenv
- pip install click - cd source/
- pip install eel
- pip install markdown
- cd source
- cp README.md beads/resources/info/README.md
- npm config set strict-ssl false
- npm install -g typescript
- npm install -g sass
- npm install @types/d3 --prefix ts/
- sass --no-source-map sass/gui.scss beads/resources/ui/css/gui.css
- tsc -b ts/
build:
stage: build
script:
- pip install click
- pip install eel
- pip install markdown
- cp README.md beads/resources/info/README.md
- npm config set strict-ssl false
- npm install -g typescript
- npm install -g sass
- npm install @types/d3 --prefix ts/
- sass --no-source-map sass/gui.scss beads/resources/ui/css/gui.css
- tsc -b ts/
artifacts:
paths:
- source/beads/
deploy_staging: deploy_staging:
stage: deploy stage: deploy
...@@ -56,3 +62,10 @@ unittests: ...@@ -56,3 +62,10 @@ unittests:
- nosetests tests/ -v --nocapture - nosetests tests/ -v --nocapture
testbuild:
stage: test
script:
- test -f "beads/resources/ui/css/gui.css"
- test -f "beads/resources/ui/js/gui.js"
- test -f "beads/resources/options/default_options.json"
- test -f "beads/resources/info/README.md"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment