• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sinsoku / nullpohub / 66
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: feature/travis
DEFAULT BRANCH: master
Ran 10 Sep 2013 04:50AM UTC
Jobs 1
Files 11
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
66

push

travis-ci

sinsoku
[from now] 2013年  9月 10日 火曜日 13:43:54 JST

diff --git a/script/deploy.sh b/script/deploy.sh
index 40087af..6fe5176 100755
--- a/script/deploy.sh
+++ b/script/deploy.sh
@@ -1,13 +1,19 @@
 #!/bin/sh
 if [ "$TRAVIS_PULL_REQUEST" != "false" ]
 then
-  git status -s
+  echo "This is a pull request. No deployment will be done."
+  exit 0
+fi
+
+if [ "$TRAVIS_BRANCH" = "feature/travis" ]
+then
+  git status
   touch sample_file
   git add sample_file
   git commit -m "add sample_file"
-  echo "This is a pull request. No deployment will be done."
   exit 0
 fi
+
 if [ "$TRAVIS_BRANCH" = "master" ]
 then
   wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh

51 of 51 relevant lines covered (100.0%)

1.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 66.1 (2.0.0) 10 Sep 2013 04:50AM UTC 0
100.0
Travis Job 66.1
Source Files on build 66
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #66
  • 356c5f85 on github
  • Prev Build on feature/travis (#65)
  • Next Build on feature/travis (#67)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc