mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 09:36:44 +03:00
Improved build process
This commit is contained in:
parent
b8057ff6db
commit
235193cb46
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -70,3 +70,5 @@ target/
|
|||
|
||||
/docs/playground/graphene-js/pypyjs-release-nojit/
|
||||
/docs/static/playground/lib
|
||||
|
||||
/docs/static/playground
|
||||
|
|
|
@ -32,7 +32,7 @@ install:
|
|||
script:
|
||||
- |
|
||||
if [ "$TEST_TYPE" = build_website ]; then
|
||||
if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
|
||||
if [ "$TRAVIS_BRANCH" = "docs-playground" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
|
||||
echo "Building the web."
|
||||
nvm install 4.0
|
||||
|
||||
|
@ -43,7 +43,8 @@ script:
|
|||
https://graphql-python-bot@github.com/graphql-python/graphene.git \
|
||||
$GH_PAGES_DIR
|
||||
cd docs
|
||||
npm run build
|
||||
./playground/graphene-js/build.sh
|
||||
npm run deploy
|
||||
cd $GH_PAGES_DIR
|
||||
git status
|
||||
if ! git diff-index --quiet HEAD --; then
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
if [ ! -d pypyjs-release-nojit ] ; then
|
||||
git clone git@github.com:pypyjs/pypyjs-release-nojit.git
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user