X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=.travis.yml;h=f870e95e007201afe6f1e804c802945f4fb5914c;hb=eda1a83ea991958ae98ea0e28f93d6be34271b5b;hp=ea62f9dc444b9af0f7250246a9a4f7ab1e5a8804;hpb=df2306ab886a31df6d1b035b3871c90c7636f869;p=litex.git diff --git a/.travis.yml b/.travis.yml index ea62f9dc..f870e95e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,49 +1,19 @@ language: python python: - - "3.4" + - "3.6" -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 py34 - - conda install anaconda-client numpydoc install: - # Install iverilog package. - - "sudo add-apt-repository -y ppa:mithro/iverilog-backport" - - "sudo apt-get update" - - "sudo apt-get install iverilog" - - "iverilog -v; true" - # Build the vpi module. - - "(cd vpi; make; sudo make install)" - # Install verilator package - - "sudo apt-get install verilator" - - "verilator --version; true" - # Build and install Migen conda package - - "conda build conda/migen" - - "conda install migen --use-local" - -script: - # Run tests - - "python setup.py test" - # Generate HTML documentation - - "make -C doc html" + - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh + - bash miniconda.sh -b -p $HOME/miniconda + - export PATH="$HOME/miniconda/bin:$PATH" + - hash -r + - conda config --set always_yes yes --set changeps1 no -after_success: - # Upload Migen conda package to binstar - - anaconda login --hostname $(hostname) --username $binstar_login --password $binstar_password - - anaconda upload --user $binstar_login --channel dev --force $HOME/miniconda/conda-bld/linux-64/migen-*.tar.bz2 +before_script: + - export -f travis_nanoseconds + - export -f travis_fold + - export -f travis_time_start + - export -f travis_time_finish -notifications: - email: false - irc: - channels: - - chat.freenode.net#m-labs - template: - - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}" - - "Build details : %{build_url}" +script: + - ./.travis-build-socs.sh