github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/pingcap/go-themis/.travis.yml (about)

     1  language: go
     2  
     3  go:
     4    - 1.5.1
     5  
     6  before_script:
     7    - cd $TRAVIS_BUILD_DIR
     8    - java -version
     9    - wget http://archive.apache.org/dist/hbase/0.98.15/hbase-0.98.15-hadoop2-bin.tar.gz
    10    - tar -zxf hbase-0.98.15-hadoop2-bin.tar.gz
    11    - git clone https://github.com/pingcap/themis.git
    12    - cd themis
    13    - mvn clean package -DskipTests
    14    - cp themis-coprocessor/target/themis-coprocessor-1.0-SNAPSHOT-jar-with-dependencies.jar $TRAVIS_BUILD_DIR/hbase-0.98.15-hadoop2/lib
    15    - cd $TRAVIS_BUILD_DIR
    16    - git clone https://github.com/qiuyesuifeng/hbase-conf.git
    17    - cp hbase-conf/hbase-site-for-themis.xml $TRAVIS_BUILD_DIR/hbase-0.98.15-hadoop2/conf/hbase-site.xml
    18    - hbase-0.98.15-hadoop2/bin/start-hbase.sh
    19    - sleep 60s
    20    - jps
    21    - cd $TRAVIS_BUILD_DIR
    22  
    23  script:
    24    - go test -v