2014-11-07 09:53:38 +08:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- '3.4'
|
2015-04-04 22:27:43 +08:00
|
|
|
sudo: false
|
2014-11-07 09:53:38 +08:00
|
|
|
env:
|
|
|
|
global:
|
2015-03-04 00:23:34 +08:00
|
|
|
- BUILD_SOC=1
|
2015-02-05 17:55:16 +08:00
|
|
|
- secure: "DUk/Ihg8KbbzEgPF0qrHqlxU8e8eET9i/BtzNvFddIGX4HP/P2qz0nk3cVkmjuWhqJXSbC22RdKME9qqPzw6fJwJ6dpJ3OR6dDmSd7rewavq+niwxu52PVa+yK8mL4yf1terM7QQ5tIRf+yUL9qGKrZ2xyvEuRit6d4cFep43Ws="
|
2014-11-07 09:53:38 +08:00
|
|
|
before_install:
|
2015-04-04 22:27:43 +08:00
|
|
|
- mkdir -p $HOME/.mlabs
|
2015-02-06 13:27:05 +08:00
|
|
|
- if [ $TRAVIS_PULL_REQUEST != false ]; then BUILD_SOC=0; fi
|
2015-06-26 03:08:56 +08:00
|
|
|
- if [ $BUILD_SOC -ne 0 ]; then ./.travis/get-xilinx.sh; fi
|
2015-04-04 22:27:43 +08:00
|
|
|
- . ./.travis/get-toolchain.sh
|
2015-06-26 02:40:04 +08:00
|
|
|
- . ./.travis/get-anaconda.sh
|
2014-11-07 09:53:38 +08:00
|
|
|
- source $HOME/miniconda/bin/activate py34
|
2015-05-12 19:56:29 +08:00
|
|
|
- conda install pip coverage binstar migen cython
|
2014-11-07 09:53:38 +08:00
|
|
|
- pip install coveralls
|
|
|
|
install:
|
2015-03-04 00:23:34 +08:00
|
|
|
- conda build conda/artiq
|
2015-06-30 04:18:38 +08:00
|
|
|
- conda install artiq --use-local
|
2014-11-07 09:53:38 +08:00
|
|
|
script:
|
|
|
|
- coverage run --source=artiq setup.py test
|
2015-02-05 19:31:35 +08:00
|
|
|
- make -C doc/manual html
|
2014-11-07 09:53:38 +08:00
|
|
|
after_success:
|
2015-03-04 00:23:34 +08:00
|
|
|
- binstar login --hostname $(hostname) --username $binstar_login --password $binstar_password
|
|
|
|
- binstar upload --user $binstar_login --channel dev --force $HOME/miniconda/conda-bld/linux-64/artiq-*.tar.bz2
|
|
|
|
- coveralls
|
2014-11-07 09:53:38 +08:00
|
|
|
notifications:
|
2015-07-05 12:09:04 +08:00
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- rjordens@nist.gov
|
|
|
|
on_success: always
|
|
|
|
on_failure: never
|
2014-11-07 09:53:38 +08:00
|
|
|
irc:
|
|
|
|
channels:
|
2015-02-05 11:40:33 +08:00
|
|
|
- chat.freenode.net#m-labs
|
2015-02-06 13:17:01 +08:00
|
|
|
template:
|
|
|
|
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
|
|
|
|
- "Build details : %{build_url}"
|