Continuous delivery using github, travis-ci and bintray

Continuous-Delivery-schema

Let’s say you work on a Java application and want to frequently make it available for download so that user’s can easily try the latest version.

Let’s say you work primarily on your laptop or personal computer using a Java IDE and commit code changes, but you don’t want to spend time manually building jars, packaging war or zip files, testing your application or uploading files to a website, etc.

Instead you want to have a fully automated process that compiles your source code, runs automated tests and other quality control mechanisms, builds your application and uploads the result to a public website.

But you don’t want to install any infrastructure for this and not run anything besides Java and your IDE on your own machine(s).

Basically you want to use developer-friendly reliable cloud services but you don’t want to pay a single cent.

All of this is possible, as long your code is Open Source:

  • Host your source code on github
  • Let travis-ci run vour build process
  • Let travis-ci upload the build result to bintray

For details, you can take a look at one of my github projects.

Relevant config files:

Some pure CSS buttons

Do you still use gifs or other pixel graphics for buttons on web pages? I hope not. CSS3 support is available in all modern browsers, so rounded corners, gradients, shadows, etc are no problem.

See this jsfiddle for the CSS class definitions and a minimal HTML sample.

Without box shadow:

Oliver Doepner

Oliver Doepner

Oliver Doepner

With box shadow:

Oliver Doepner

Oliver Doepner

Oliver Doepner