sudo: required
env:
    matrix:
        - OS_TYPE=centos OS_VERSION=6
    global:
        - BASE_DIR=/code
services:
  - docker
before_install:
    - gem install package_cloud
    - sudo docker pull centos:centos${OS_VERSION}
script:
    - sudo docker run --rm=true -v `pwd`:${BASE_DIR}:rw centos:centos${OS_VERSION} /bin/bash -e -v ${BASE_DIR}/build.sh
    - package_cloud push laksmana/centos/os/version rpmbuild/RPMS/x86_64/git-2.11.0-1.el6.x86_64.rpm
    - package_cloud push laksmana/centos/os/version rpmbuild/RPMS/x86_64/perl-Git-2.11.0-1.el6.x86_64.rpm


sudo: required
env:
    matrix:
        - OS_TYPE=centos OS_VERSION=6
    global:
        - BASE_DIR=/code
services:
  - docker
before_install:
    - gem install package_cloud
    - sudo docker pull centos:centos${OS_VERSION}
script:
    - sudo docker run --rm=true -v `pwd`:${BASE_DIR}:rw centos:centos${OS_VERSION} /bin/bash -e -v ${BASE_DIR}/build.sh
    - package_cloud push laksmana/centos/el/6 rpmbuild/RPMS/x86_64/git-2.11.0-1.el6.x86_64.rpm
    - package_cloud push laksmana/centos/el/6 rpmbuild/RPMS/x86_64/perl-Git-2.11.0-1.el6.x86_64.rpm


Fix package cloud repo name
Fix package cloud repo name
