Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: python
python:
- "3.6"
notifications:
slack: ibm-research:bLcRT4dofYlBUocjPBvlxO9p
email:
recipients:
- tidhamecha@in.ibm.com
on_success: always
on_failure: always

before_install:
- echo -e "machine github.com\n login $GITHUB_TOKEN" >> ~/.netrc

script:
- echo "skipping tests"
# - py.test -s # or py.test for Python versions 3.5 and below

deploy:
- provider: cloudfoundry
username: apikey
password: $apikey
api: https://api.eu-gb.bluemix.net
organization: manojathreya13@gmail.com
space: dev
manifest: manifest.yml
on:
branch: develop
10 changes: 10 additions & 0 deletions .travis0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: python
python:
- "3.6"

before_install:
- echo -e "machine github.com\n login $GITHUB_TOKEN" >> ~/.netrc

script:
- echo "skipping tests"
# - py.test -s # or py.test for Python versions 3.5 and belo
16 changes: 16 additions & 0 deletions .travis1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: python
python:
- "3.6"
notifications:
email:
recipients:
- tidhamecha@in.ibm.com
on_success: always
on_failure: always

before_install:
- echo -e "machine github.com\n login $GITHUB_TOKEN" >> ~/.netrc

script:
- echo "skipping tests"
# - py.test -s # or py.test for Python versions 3.5 and belo
17 changes: 17 additions & 0 deletions .travis2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: python
python:
- "3.6"
notifications:
slack: ibm-research:bLcRT4dofYlBUocjPBvlxO9p
email:
recipients:
- tidhamecha@in.ibm.com
on_success: always
on_failure: always

before_install:
- echo -e "machine github.com\n login $GITHUB_TOKEN" >> ~/.netrc

script:
- echo "skipping tests"
# - py.test -s # or py.test for Python versions 3.5 and below
28 changes: 28 additions & 0 deletions .travis3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: python
python:
- "3.6"
notifications:
slack: ibm-research:bLcRT4dofYlBUocjPBvlxO9p
email:
recipients:
- tidhamecha@in.ibm.com
on_success: always
on_failure: always

before_install:
- echo -e "machine github.com\n login $GITHUB_TOKEN" >> ~/.netrc

script:
- echo "skipping tests"
# - py.test -s # or py.test for Python versions 3.5 and below

deploy:
- provider: cloudfoundry
username: apikey
password: $apikey
api: https://api.eu-gb.bluemix.net
organization: manojathreya13@gmail.com
space: dev
manifest: manifest.yml
on:
branch: develop
2 changes: 1 addition & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
applications:
- name: GetStartedPython
- name: test hosting
random-route: true
memory: 128M
6 changes: 3 additions & 3 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
$( document ).ready(function() {
$.i18n().load( {
en: {
"welcome": "Welcome.",
"namaste": "Namaste",
"name": "name",
"what_is_your_name": "What is your name?",
"hello": "Hello $1",
"added_to_database": "Hello $1, I've added you to the database!",
"added_to_database": "Namaste $1, I've added you to the database!",
"database_contents": "Database contents: "
},
ja: {
Expand All @@ -52,7 +52,7 @@

<body>
<div class="container" id="container">
<h1 data-i18n="welcome"></h1> <!- Welcome ->
<h1 data-i18n="namaste"></h1> <!- NAMASTE ->
<div id="nameInput" class="input-group-lg center-block helloInput">
<p class="lead" data-i18n="what_is_your_name"></p>
<input id="user_name" type="text" class="form-control" aria-describedby="sizing-addon1" value="" />
Expand Down