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

wooga / atlas-github / 54 / 2
39%
master: 39%

Build:
DEFAULT BRANCH: master
Ran 21 Aug 2017 09:44AM UTC
Files 8
Run time 0s
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

21 Aug 2017 09:34AM UTC coverage: 99.666% (+0.06%) from 99.608%
54.2

push

travis-ci

web-flow
Refactor/abstract GitHub task (#3)

* Add AbstractGithubTask and refactor GithubPublish

The `GithubPublish` task used to extend `Copy` to leverage the copy
logic for asset preparation during task execution. To create an
`abstract` base task I needed to get rid of this inheritance. The task
implements `CopySpecs` sub interfaces (`CopySourceSpec`,
`PatternFilterable`) needed to function as before. All github
authentication related logic and properties are located at
`AbstractGithubTask` This makes it possible to create other tasks with
the basic authentication setup.

* Change propertyName repository to repositoryName

This change was needed to have a clear naming scheme when handling with
github repository names and API objects

* Add generic Github gradle task type

This task allows the user to issue github API calls to the provided
repository. It also exposes the `GHClient` object to do other API
related jobs.

**create repos**
```
customGithubTask {
    doLast {
        def builder =client.createRepository("Repo")
        builder.description("description")
        builder.autoInit(false)
        builder.licenseTemplate('MIT')
        builder.private_(false)
        builder.issues(false)
        builder.wiki(false)
        builder.create()
    }
}
```

**update files**
```
customGithubTask {
    doLast {
        def content = repository.getFileContent("$file")
        content.update("$updatedContent", "update release notes")
    }
}
```

* Update README.md with Github task examples

* Restructe delegates and add test specs for coverage

298 of 299 relevant lines covered (99.67%)

1.0 hits per line

Source Files on job 54.2
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 54
  • Travis Job 54.2
  • 7207f1a0 on github
  • Prev Job for on master (#36.2)
  • Next Job for on master (#56.1)
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

© 2026 Coveralls, Inc