Skip to content

ci: try to fix travis-ci build #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ workflows:
- build35
filters:
tags:
only: /.*/
only: /^v.*/
branches:
only: master
- build36:
Expand All @@ -144,7 +144,7 @@ workflows:
- build36
filters:
tags:
only: /.*/
only: /^v.*/
branches:
only: master
- build37:
Expand All @@ -155,7 +155,7 @@ workflows:
- build37
filters:
tags:
only: /.*/
only: /^v.*/
branches:
only: master
- pip_deploy:
Expand All @@ -165,6 +165,6 @@ workflows:
- deploy37
filters:
tags:
only: /.*/
only: /^v.*/
branches:
only: master
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
language: python
language: rust
rust:
- nightly
os: osx

env:
- PYTHON_VERSION=3.5.6
- PYTHON_VERSION=3.6.6
- PYTHON_VERSION=3.7.0

cache: cargo
before_install:
- brew update
- brew install rust pyenv
- rustup default nightly
- brew update && brew upgrade pyenv
- eval "$(pyenv init -)"
- pyenv install $PYTHON_VERSION
- pyenv global $PYTHON_VERSION
- pip install --upgrade pip
- rustup --version; cargo --version;rustc --version;python -V;pip -V;

install:
- pip install -r requirements-dev.txt
- pip install -r requirement-dev.txt --user

script: |
python compile.py build && \
cp build/lib/py_sourcemap/*.so py_sourcemap/ && \
nosetests
$HOME/.local/bin/nosetests

deploy:
provider: releases
Expand Down