Repository: incubator-wave Updated Branches: refs/heads/wavy baa38a1fd -> 49e535b05
rework travis to use bazel, add inital server files Project: http://git-wip-us.apache.org/repos/asf/incubator-wave/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-wave/commit/49e535b0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-wave/tree/49e535b0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-wave/diff/49e535b0 Branch: refs/heads/wavy Commit: 49e535b05b0eb8e94cac55d4ce4212198dd802c8 Parents: baa38a1 Author: wisebaldone <wisebald...@apache.org> Authored: Wed Apr 27 21:31:14 2016 +1000 Committer: wisebaldone <wisebald...@apache.org> Committed: Wed Apr 27 21:31:14 2016 +1000 ---------------------------------------------------------------------- .gitignore | 3 +++ .travis.yml | 11 +++++++++++ WORKSPACE | 0 server/BUILD | 0 server/main.go | 9 +++++++++ 5 files changed, 23 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/49e535b0/.gitignore ---------------------------------------------------------------------- diff --git a/.gitignore b/.gitignore index f3842d8..f59219c 100755 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,6 @@ # Note: Please do not add editor specific ignores here. These should be handled # by your global gitignore. + +# Bazel +bazel* http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/49e535b0/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index e69de29..1676e5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -0,0 +1,11 @@ +jdk: oraclejdk8 +go: 1.6.1 + +before_install: + - wget 'https://github.com/bazelbuild/bazel/releases/download/0.2.1/bazel-0.2.1-installer-linux-x86_64.sh' + - sha256sum -c tools/bazel-0.2.1-installer-linux-x86_64.sh.sha256 + - chmod +x bazel-0.2.1-installer-linux-x86_64.sh + - ./bazel-0.2.1-installer-linux-x86_64.sh --user + +script: + - bazel build http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/49e535b0/WORKSPACE ---------------------------------------------------------------------- diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/49e535b0/server/BUILD ---------------------------------------------------------------------- diff --git a/server/BUILD b/server/BUILD new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/49e535b0/server/main.go ---------------------------------------------------------------------- diff --git a/server/main.go b/server/main.go new file mode 100644 index 0000000..596aac8 --- /dev/null +++ b/server/main.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("Hello World") +}