Skip to content

Commit 157d4ab

Browse files
committed
ci: try to fix travis-ci build
1 parent 6a1bc7f commit 157d4ab

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ workflows:
133133
- build35
134134
filters:
135135
tags:
136-
only: /.*/
136+
only: /^v.*/
137137
branches:
138138
only: master
139139
- build36:
@@ -144,7 +144,7 @@ workflows:
144144
- build36
145145
filters:
146146
tags:
147-
only: /.*/
147+
only: /^v.*/
148148
branches:
149149
only: master
150150
- build37:
@@ -155,7 +155,7 @@ workflows:
155155
- build37
156156
filters:
157157
tags:
158-
only: /.*/
158+
only: /^v.*/
159159
branches:
160160
only: master
161161
- pip_deploy:
@@ -165,6 +165,6 @@ workflows:
165165
- deploy37
166166
filters:
167167
tags:
168-
only: /.*/
168+
only: /^v.*/
169169
branches:
170170
only: master

.travis.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
1-
language: python
1+
language: rust
2+
rust:
3+
- nightly
24
os: osx
3-
45
env:
56
- PYTHON_VERSION=3.5.6
67
- PYTHON_VERSION=3.6.6
78
- PYTHON_VERSION=3.7.0
89

910
cache: cargo
1011
before_install:
11-
- brew update
12-
- brew install rust pyenv
1312
- rustup default nightly
13+
- brew update && brew upgrade pyenv
14+
- eval "$(pyenv init -)"
1415
- pyenv install $PYTHON_VERSION
1516
- pyenv global $PYTHON_VERSION
17+
- pip install --upgrade pip
18+
- rustup --version; cargo --version;rustc --version;python -V;pip -V;
1619

1720
install:
18-
- pip install -r requirements-dev.txt
21+
- pip install -r requirement-dev.txt --user
1922

2023
script: |
2124
python compile.py build && \
2225
cp build/lib/py_sourcemap/*.so py_sourcemap/ && \
23-
nosetests
26+
$HOME/.local/bin/nosetests
2427
2528
deploy:
2629
provider: releases

0 commit comments

Comments
 (0)