language: python
python:
  - "2.7"

before_install: 
  - sudo apt-get update -qq
  - sudo apt-get install -qq rpm

install: 
  - wget https://fedorahosted.org/releases/r/p/rpmdevtools/rpmdevtools-6.8.tar.bz2
  - tar -jxf rpmdevtools-6.8.tar.bz2
  - export PATH=$PATH:$PWD/rpmdevtools-6.8/
  - svn co https://github.com/csdms/packagebuilder
  - cd packagebuilder
  - python setup.py install
  - build_rpm --help

before_script:
  - sudo mkdir -p /etc/rpm
  - sudo cp config/macros.cmake /etc/rpm

script:
   - build_rpm hydrotrend


language: python
python:
  - "2.7"

before_install: 
  - sudo apt-get update -qq
  - sudo apt-get install -qq rpm

install: 
  - wget https://fedorahosted.org/releases/r/p/rpmdevtools/rpmdevtools-6.8.tar.bz2
  - tar -jxf rpmdevtools-6.8.tar.bz2
  - export PATH=$PATH:$PWD/rpmdevtools-6.8/
  - svn export https://github.com/csdms/packagebuilder/trunk packagebuilder
  - cd packagebuilder && python setup.py install

before_script:
  - sudo mkdir -p /etc/rpm
  - sudo cp config/macros.cmake /etc/rpm

script:
   - build_rpm hydrotrend


Fix error in path to packagebuilder
Fix error in path to packagebuilder
