language: python
python:
  - "2.7"

install: 
  - sudo apt-get install -qq rpm
  - bash .travis/install_packagebuilder.sh
  - bash .travis/install_rpmdevtools.sh
  - export PATH=$PATH:$PWD/rpmdevtools-6.8/

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

script:
   - build_rpm hydrotrend --local $PWD/hydrotrend
   - ls $HOME/rpmbuild/RPMS/x86_64

language: python
python:
  - "2.7"

install: 
  - sudo apt-get install -qq rpm
  - bash .travis/install_packagebuilder.sh
  - bash .travis/install_rpmdevtools.sh
  - export PATH=$PATH:$PWD/rpmdevtools-6.8/

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

script:
   - build_rpm hydrotrend --local $PWD/hydrotrend
   - rpm -ivph $HOME/rpmbuild/RPMS/x86_64/hydrotrend-*.rpm
   - hydrotrend --version
   - rpm -e hydrotrend

Test installing/uninstalling hydrotrend with rpm
Test installing/uninstalling hydrotrend with rpm
