Skip to content

Commit

Permalink
Add travis yaml file to validate if fli builds.
Browse files Browse the repository at this point in the history
Update license
* client/fli/analytics.go

Updated the relative paths for imports & licenses

Updated the README.md file with references on how to install from source.
  • Loading branch information
Abhishek Mendhekar committed Dec 9, 2016
1 parent 03a9f06 commit 2baf2a8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
@@ -0,0 +1,9 @@
language: go

go:
- 1.7.4

dist: trusty

script:
- go build -o /tmp/fli ./client/cmd/fli
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -16,7 +16,7 @@ You can use Fli to manage these snapshots locally without using FlockerHub at al

# Installation

It's easy to get started using Fli because Fli is distributed on the [DockerHub](https://hub.docker.com/) as a container image called ``clusterhq/fli`` so you just need to runn ```docker pull clusterhq/fli```. You can also download the Go binary directly by running ```curl -L "https://download.clusterhq.com/releases/fli/<version>" > /usr/local/bin/fli
It's easy to get started using Fli because Fli is distributed on the [DockerHub](https://hub.docker.com/) as a container image called ``clusterhq/fli`` so you just need to run ```docker pull clusterhq/fli```. You can also download the Go binary directly by running ```curl -L "https://download.clusterhq.com/releases/fli/<version>" > /usr/local/bin/fli
chmod +x /usr/local/bin/fli<```

Using Fli requires a few dependencies so make sure you have these on your system before getting started.
Expand All @@ -27,6 +27,10 @@ Using Fli requires a few dependencies so make sure you have these on your system

[View the complete documentation for Fli](https://fli-docs.clusterhq.com/en/latest/) or read on for some more background on the project.

## Build Fli from source

Fli can also be built from source. Instruction to build from source can be found [here](https://fli-docs.clusterhq.com/en/latest/Contributing.html#how-to-build-from-source).

# Why use Fli?

With increased popularity of microservices and container-based architectures, greater and greater emphasis is being placed on automated testing to ensure that separately created and updated microservices all work together when deployed to production.
Expand Down
20 changes: 12 additions & 8 deletions client/fli/analytics.go
@@ -1,13 +1,17 @@
/*
* Copyright © 2014-2016 ClusterHQ Inc. All rights reserved.
* Copyright 2016 ClusterHQ
*
* Proprietary Rights Notice: These files and their contents contain
* material that is the proprietary intellectual property of ClusterHQ Inc.
* or its licensors, and are protected under U.S. and international copyright
* and other intellectual property laws. Except as expressly permitted by
* ClusterHQ Inc. in writing, no part of these files may be reproduced,
* duplicated, disclosed, redistributed or transmitted in any form or by any
* means known or unknown without the prior written permission of ClusterHQ Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package fli
Expand Down

0 comments on commit 2baf2a8

Please sign in to comment.