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

wooga / atlas-github / 54
39%

Build:
DEFAULT BRANCH: master
Ran 21 Aug 2017 09:44AM UTC
Jobs 2
Files 8
Run time 1min
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
54

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.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 54.1 21 Aug 2017 09:46AM UTC 0
99.67
Travis Job 54.1
2 54.2 21 Aug 2017 09:44AM UTC 0
99.67
Travis Job 54.2
Source Files on build 54
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #54
  • 7207f1a0 on github
  • Prev Build on master (#36)
  • Next Build on master (#56)
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