From bb51a4a9eb1353d7e98c8ecc3e9f36479644e0c5 Mon Sep 17 00:00:00 2001 From: Jeet Parekh Date: Fri, 28 Jun 2019 09:52:40 +0530 Subject: [PATCH] enable linux and mac build again to test PAT --- .travis.yml | 122 ++++++++++++++++++++++++++-------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/.travis.yml b/.travis.yml index 41e32ed..ef9ce50 100755 --- a/.travis.yml +++ b/.travis.yml @@ -11,67 +11,67 @@ install: true jobs: include: - # - name: linux - # os: linux - # dist: xenial - # sudo: required - - # before_install: - # - wget https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Linux-ubuntu-16.04.deb - # - sudo dpkg -i seabolt-1.7.4-Linux-ubuntu-16.04.deb - # - sudo apt-get install -y libssl-dev build-essential - # - go get github.com/neo4j/neo4j-go-driver/neo4j - # - go get gopkg.in/olivere/elastic.v7 - # - go get github.com/appbaseio/abc || true - # - mkdir private - # - git clone https://$PAT@github.com/appbaseio-confidential/abc-import private - - # script: - # - go build -tags 'seabolt_static !oss' -o "abc-linux" ./cmd/abc/... - - # before_deploy: - # - zip -r abc-linux.zip abc-linux - # - export TRAVIS_TAG="preview" - - # deploy: - # provider: releases - # api_key: $PAT - # skip_cleanup: true - # file: abc-linux.zip - # draft: true - # on: - # all_branches: true - - # - name: macos - # os: osx - # osx_image: xcode10.2 - - # before_install: - # - curl -LO https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Darwin.tar.gz - # - tar -zxf seabolt-1.7.4-Darwin.tar.gz - # - export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:`pwd`/seabolt-1.7.4-Darwin/usr/local/share/pkgconfig - # - export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:`pwd`/seabolt-1.7.4-Darwin/usr/local/lib - # - go get github.com/neo4j/neo4j-go-driver/neo4j - # - go get gopkg.in/olivere/elastic.v7 - # - go get github.com/appbaseio/abc || true - # - mkdir private - # - git clone https://$PAT@github.com/appbaseio-confidential/abc-import private - - # script: - # - go build -tags 'seabolt_static !oss' -o "abc-darwin" ./cmd/abc/... - - # before_deploy: - # - zip -r abc-darwin.zip abc-darwin - # - export TRAVIS_TAG="preview" - - # deploy: - # provider: releases - # api_key: $PAT - # skip_cleanup: true - # file: abc-darwin.zip - # draft: true - # on: - # all_branches: true + - name: linux + os: linux + dist: xenial + sudo: required + + before_install: + - wget https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Linux-ubuntu-16.04.deb + - sudo dpkg -i seabolt-1.7.4-Linux-ubuntu-16.04.deb + - sudo apt-get install -y libssl-dev build-essential + - go get github.com/neo4j/neo4j-go-driver/neo4j + - go get gopkg.in/olivere/elastic.v7 + - go get github.com/appbaseio/abc || true + - mkdir private + - git clone https://$PAT@github.com/appbaseio-confidential/abc-import private + + script: + - go build -tags 'seabolt_static !oss' -o "abc-linux" ./cmd/abc/... + + before_deploy: + - zip -r abc-linux.zip abc-linux + - export TRAVIS_TAG="preview" + + deploy: + provider: releases + api_key: $PAT + skip_cleanup: true + file: abc-linux.zip + draft: true + on: + all_branches: true + + - name: macos + os: osx + osx_image: xcode10.2 + + before_install: + - curl -LO https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Darwin.tar.gz + - tar -zxf seabolt-1.7.4-Darwin.tar.gz + - export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:`pwd`/seabolt-1.7.4-Darwin/usr/local/share/pkgconfig + - export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:`pwd`/seabolt-1.7.4-Darwin/usr/local/lib + - go get github.com/neo4j/neo4j-go-driver/neo4j + - go get gopkg.in/olivere/elastic.v7 + - go get github.com/appbaseio/abc || true + - mkdir private + - git clone https://$PAT@github.com/appbaseio-confidential/abc-import private + + script: + - go build -tags 'seabolt_static !oss' -o "abc-darwin" ./cmd/abc/... + + before_deploy: + - zip -r abc-darwin.zip abc-darwin + - export TRAVIS_TAG="preview" + + deploy: + provider: releases + api_key: $PAT + skip_cleanup: true + file: abc-darwin.zip + draft: true + on: + all_branches: true - name: windows os: windows -- GitLab