Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
Jupyter Docker Stacks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Jupyter Docker Stacks
Commits
d76b4ca9
Commit
d76b4ca9
authored
May 04, 2019
by
Peter Parente
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setup travis en template update
parent
f8c3e3d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
7 deletions
+43
-7
.travis.yml
.travis.yml
+25
-7
Makefile
Makefile
+18
-0
No files found.
.travis.yml
View file @
d76b4ca9
...
...
@@ -5,10 +5,28 @@ python:
sudo
:
required
services
:
-
docker
install
:
jobs
:
include
:
-
stage
:
install
script
:
-
pip install --upgrade pip
-
make dev-env
script
:
-
stage
:
test
script
:
-
set -e
-
if [ $(make n-docs-diff) -ne 0 ]; then make docs; fi;
-
if [ $(make n-other-diff) -ne 0 ]; then make build-test-all DARGS="--build-arg TEST_ONLY_BUILD=1"; fi;
-
stage
:
pushback
script
:
-
if [ $(make n-docs-diff) -ne 0 ]; then make tx-en; fi;
stages
:
-
install
-
test
-
name
:
pushback
if
:
branch = master
env
:
global
:
secure
:
JDQKgB1laaenzmEGI9gduwK/iS0030qsl62njJg3jib0R8wxBi2OeetEdoGl9m4NFsqqnp0OO7nm4rzGfuwjL1A38flSlXOTxhjm/hvo3vmnqVu5lDcdk9+IRkafnfd3Dyd86tLxRVETOqZwCLmdNkB2fmQII8du5IIqbJuUGp8DrG7kVMf3NBr9rjkZRfByQrgG4s1NXuT61VvpWMPJAOhcrImuHBheVJDEV0U3n6Xavd7Wo+pAHrHU8exvYTZ1IzZMbHc6K0iC/NpCHcH9+9DAeLDk/q1aDNqbTExnQevOHZzNqgHC2qFOlN4jfy/TLYLpLXtUismneBBqVSK3iZso3Vqy2BRXWgouI+Tt+08ffocy9XPwEzSwkgPgDlFVUikPOy5imwjpDb13RMIyMY4CKlSOdQx2rH2kPkZ0MJJPcki3KGuGl3qRvqyblMn+lZvjAu6WVLZfo7EtcxsQ0ZZxbAbGoUVl27FHg+UvIfC0I3wEcZIp7oED47Q8s0MdCijD3AwkRPvx/iyp3J0A42su7kkOooFcmUItEIqegQJ4Aki1FBv2i5vHmBobClktytZceLsKvzCeLjMpL9HcUVfUaJDKRwtUYIozpYeBnac+E6J1s6glcqLrXIHWez8N6SzokBa6SPqdtODdzzk5OJupByub6CYWsRXvxIQ7/wI=
Makefile
View file @
d76b4ca9
...
...
@@ -66,6 +66,24 @@ n-docs-diff: ## number of docs/ files changed since branch from master
n-other-diff
:
##
number of files outside docs/ changed since branch from master
@
git diff
--name-only
master...HEAD
--
':!docs/'
|
wc
-l
|
awk
'{print $$1}'
tx-en
:
##
rebuild en locale strings and push to master
git config
--global
user.email
"travis@travis-ci.org"
git config
--global
user.name
"Travis CI"
git
checkout
master
pushd
docs
make
clean
gettext
sphinx-intl
build
-p
_build/gettext
-l
en
popd
git
add
docs/locale/en
git
commit
-m
"Update en source strings for $$TRAVIS_COMMIT"
git remote add origin-tx https
:
//$${GH_TOKEN}@github.com/jupyter/docker-stacks.git
git push
-u
origin-tx master
test/%
:
##
run tests against a stack
@
TEST_IMAGE
=
"
$(OWNER)
/
$(
notdir
$@
)
"
pytest
test
...
...
Write
Preview
Markdown
is supported
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