about summary refs log blame commit diff stats
path: root/.travis.yml
blob: e546d8b35e2762a6a6eaa1888a3cf9d80524bd93 (plain) (tree)
1
2
3
4
5
6
7
8
9
           

                         
                                                                                                                                                 

                                                       
              
                    
                               



                       


                                                           





                                                                   
                         
                    
                                         
language: c
install:
    - sudo apt-get update
    - sudo apt-get -y install libssl-dev libexpat1-dev libncursesw5-dev libglib2.0-dev libnotify-dev libcurl3-dev libxss-dev libotr2-dev uuid-dev
    - git clone git://github.com/strophe/libstrophe.git
    - cd libstrophe
    - mkdir m4
    - ./bootstrap.sh
    - ./configure --prefix=/usr
    - make
    - sudo make install
    - cd ..
    - rm -rf libstrophe
    - wget https://cmocka.org/files/1.0/cmocka-1.0.0.tar.xz
    - tar -xvf cmocka-1.0.0.tar.xz
    - cd cmocka-1.0.0
    - mkdir build
    - cd build
    - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
    - make
    - sudo make install
    - cd ../..
    - rm -rf cmocka-1.0.0
    - ./bootstrap.sh
script: ./configure && make && make check