Add build script
This commit is contained in:
parent
0709cd8c71
commit
aa1a7dee74
10
circle.yml
10
circle.yml
|
@ -14,10 +14,10 @@ checkout:
|
|||
- git submodule update --init --recursive
|
||||
|
||||
dependencies:
|
||||
post:
|
||||
- pelican -v
|
||||
|
||||
override:
|
||||
- scripts/build
|
||||
- pelican -v
|
||||
|
||||
test:
|
||||
override:
|
||||
- scripts/test
|
||||
override:
|
||||
- scripts/test
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ -z "$NVM_DIR" ]
|
||||
then
|
||||
NVM_DIR="$HOME/.nvm"
|
||||
fi
|
||||
|
||||
. $NVM_DIR/nvm.sh
|
||||
nvm install
|
||||
nvm use
|
||||
|
||||
set -e
|
||||
|
||||
pyvenv env
|
||||
|
||||
env/bin/pip install -r requirements.txt
|
||||
|
||||
npm install
|
Reference in New Issue