hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [2/2] incubator-hawq git commit: HAWQ-597. Add Travis CI(OSX)
Date Wed, 30 Mar 2016 02:48:48 GMT
HAWQ-597. Add Travis CI(OSX)


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/c720ab74
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/c720ab74
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/c720ab74

Branch: refs/heads/master
Commit: c720ab741cb0d8024a19cf65ca6282a681ee4f43
Parents: 64db1b4
Author: xunzhang <xunzhangthu@gmail.com>
Authored: Sat Mar 26 22:58:12 2016 +0800
Committer: rlei <rlei@pivotal.io>
Committed: Wed Mar 30 10:48:13 2016 +0800

----------------------------------------------------------------------
 .travis.yml | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c720ab74/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9313374
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,65 @@
+language: c
+
+os:
+  - osx
+
+env:
+  - PYCHECKER_VERSION=0.8.19 FIGLEAF_VERSION=0.6.1
+
+compiler:
+  - clang
+
+before_install:
+  - brew update
+
+install:
+  - brew install
+    protobuf
+    protobuf-c
+    Gsasl
+    openssl
+    thrift
+    ccache
+    snappy
+    libevent
+    python
+  - brew outdated libyaml || brew upgrade libyaml
+  - brew outdated json-c || brew upgrade json-c
+  - brew outdated boost || brew upgrade boost
+  - brew outdated maven || brew upgrade maven
+  - brew tap brona/iproute2mac
+  - brew install iproute2mac
+  - sudo pip install pygresql
+  - sudo pip install unittest2 pycrypto lockfile paramiko psi
+  - sudo pip install
+    "http://sourceforge.net/projects/pychecker/files/pychecker/${PYCHECKER_VERSION}/pychecker-${PYCHECKER_VERSION}.tar.gz/download"
+  - sudo pip install
+    "http://darcs.idyll.org/~t/projects/figleaf-${FIGLEAF_VERSION}.tar.gz"
+  - brew uninstall postgresql
+  - wget -O "/tmp/libhdfs3" "https://github.com/Pivotal-DataFabric/libhdfs3/archive/apache-rpc-9.zip"
+  - unzip -d "/tmp" "/tmp/libhdfs3"
+  - cd "/tmp/libhdfs3-apache-rpc-9"
+  - mkdir build
+  - cd build
+  - ../bootstrap --prefix=/usr/local/
+  - make -j2
+  - sudo make install
+  - cd /tmp && rm -rf /tmp/libhdfs3*
+
+before_script:
+  - cd $TRAVIS_BUILD_DIR
+  - cd $TRAVIS_BUILD_DIR/depends/libyarn
+  - mkdir build
+  - cd build
+  - ../bootstrap --prefix=/usr/local
+  - make -j2
+  - sudo make install
+  - cd $TRAVIS_BUILD_DIR
+  - ./configure
+
+script:
+  - make -j2
+
+branches:
+  except:
+    - legacy


Mime
View raw message