-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
08ec922
commit 1e85f13
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" |