Skip to content

Commit 661cb7a

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

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
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: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
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
1414
- pyenv install $PYTHON_VERSION
1515
- pyenv global $PYTHON_VERSION
16+
- pip install --upgrade pip
17+
- rustup --version; cargo --version;rustc --version;python -V;pip -V;
1618

1719
install:
18-
- pip install -r requirements-dev.txt
20+
- pip install -r requirement-dev.txt --user
1921

2022
script: |
2123
python compile.py build && \

0 commit comments

Comments
 (0)