Skip to content

Commit

Permalink
add travis.yml
Browse files Browse the repository at this point in the history
sbourdeauducq committed Nov 2, 2015
1 parent 08ec922 commit 1e85f13
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
language: python
python:
- "3.5"

env:
global:
- PATH=$HOME/miniconda/bin:$PATH

before_install:
# Install Miniconda
- wget https://raw.githubusercontent.com/m-labs/artiq/master/.travis/get-anaconda.sh
- chmod +x get-anaconda.sh
- ./get-anaconda.sh
- source $HOME/miniconda/bin/activate py35
- conda install anaconda-client
install:
# workaround for https://github.com/conda/conda-build/issues/466
- "mkdir -p /home/travis/miniconda/conda-bld/linux-64"
- "conda index /home/travis/miniconda/conda-bld/linux-64"
- "conda build --python 3.5 conda/misoc"
- "conda install $(conda build --output --python 3.5 conda/misoc)"

after_success:
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then anaconda login --hostname $(hostname) --username $binstar_login --password $binstar_password; fi
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then anaconda upload --user $binstar_login --channel dev --force $HOME/miniconda/conda-bld/noarch/misoc-*.tar.bz2; fi

notifications:
email: false
irc:
channels:
- chat.freenode.net#m-labs
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
- "Build details : %{build_url}"

0 comments on commit 1e85f13

Please sign in to comment.