import migen in litex/gen
[litex.git] / litex / soc / .travis.yml
1 language: python
2 python:
3 - "3.5"
4
5 env:
6 global:
7 - PATH=$HOME/miniconda/bin:$PATH
8
9 before_install:
10 # Install Miniconda
11 - wget https://raw.githubusercontent.com/m-labs/artiq/master/.travis/get-anaconda.sh
12 - chmod +x get-anaconda.sh
13 - ./get-anaconda.sh
14 - source $HOME/miniconda/bin/activate py35
15 - conda install anaconda-client
16 install:
17 # workaround for https://github.com/conda/conda-build/issues/466
18 - "mkdir -p /home/travis/miniconda/conda-bld/linux-64"
19 - "conda index /home/travis/miniconda/conda-bld/linux-64"
20 - "conda build --python 3.5 conda/misoc"
21 - "conda install $(conda build --output --python 3.5 conda/misoc)"
22 script:
23 - true
24
25 after_success:
26 - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then anaconda login --hostname $(hostname) --username $binstar_login --password $binstar_password; fi
27 - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then anaconda upload --user $binstar_login --channel dev --force $HOME/miniconda/conda-bld/noarch/misoc-*.tar.bz2; fi
28
29 notifications:
30 email: false
31 irc:
32 channels:
33 - chat.freenode.net#m-labs
34 template:
35 - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
36 - "Build details : %{build_url}"