language: go

go:
  - 1.2

install:
  - sudo apt-get remove -y libzmq1
  - mkdir -p deps/
  - cd deps
  - wget http://download.zeromq.org/zeromq-4.0.4.tar.gz
  - tar -xf zeromq-4.0.4.tar.gz
  - cd zeromq-4.0.4
  - sudo su -c 'echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf'
  - sudo /sbin/ldconfig	
  - ./configure 
  - make
  - sudo make install
  - sudo /sbin/ldconfig
  - cd ../
  - sudo apt-get install -y autoconf libtool automake build-essential libglib2.0-dev libprotobuf-c0-dev protobuf-c-compiler 
  - gem install ronn
  - git clone https://github.com/anchor/libmarquise
  - cd libmarquise
  - autoreconf -i
  - ./configure && make && make check 
  - sudo make install
  - sudo /sbin/ldconfig
  - cd ../..

env:
  - PATH=/usr/sbin:/sbin:$GOPATH/bin:$PATH

script:
  - make all

language: go

go:
  - 1.2

install:
  - sudo apt-get remove -y libzmq1
  - mkdir -p deps/
  - cd deps
  - wget http://download.zeromq.org/zeromq-4.0.4.tar.gz
  - tar -xf zeromq-4.0.4.tar.gz
  - cd zeromq-4.0.4
  - sudo su -c 'echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf'
  - sudo /sbin/ldconfig	
  - ./configure 
  - make
  - sudo make install
  - sudo /sbin/ldconfig
  - cd ../
  - sudo apt-get install -y autoconf libtool automake build-essential libglib2.0-dev libprotobuf-c0-dev protobuf-c-compiler 
  - gem install ronn
  - git clone https://github.com/anchor/libmarquise
  - cd libmarquise
  - autoreconf -i
  - ./configure && make && make check 
  - sudo make install
  - sudo /sbin/ldconfig
  - cd ../..
  - sudo go install -a -race std

env:
  - PATH=/usr/sbin:/sbin:$GOPATH/bin:$PATH

script:
  - make all

Build go stdlib with -race
Build go stdlib with -race
