Skip to content

Commit 8b54e8c

Browse files
geky0xc0170
authored andcommitted
Travis: Minor cleanup
language -> python pip --user installs -> virtual env installs
1 parent a67cbf2 commit 8b54e8c

File tree

1 file changed

+12
-21
lines changed

1 file changed

+12
-21
lines changed

.travis.yml

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
language: python
2+
python:
3+
'2.7'
14

25
env:
36
global:
@@ -34,12 +37,9 @@ after_success:
3437
after_failure:
3538
- bash -c "$STATUS" failure "Local $NAME testing has failed"
3639

37-
language: generic
38-
3940
matrix:
4041
include:
41-
- python: '2.7'
42-
env:
42+
- env:
4343
- NAME=docs
4444
install:
4545
# Install dependencies
@@ -70,19 +70,13 @@ matrix:
7070
find -name "*.s" | tee BUILD/badasm |
7171
sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
7272
73-
- python: '2.7'
74-
env:
73+
- env:
7574
- NAME=tools
7675
install:
7776
# Install dependencies
7877
- sudo apt-get install gcc-arm-embedded
79-
- pip install --user -r requirements.txt
80-
- pip install --user pytest
81-
- pip install --user pylint
82-
- pip install --user hypothesis
83-
- pip install --user mock
84-
- pip install --user coverage
85-
- pip install --user coveralls
78+
- pip install -r requirements.txt
79+
- pip install pytest pylint hypothesis mock coverage coveralls
8680
# Print versions we use
8781
- arm-none-eabi-gcc --version
8882
- python --version
@@ -98,14 +92,13 @@ matrix:
9892
# Report success since we have overridden default behaviour
9993
- bash -c "$STATUS" success "Local $NAME testing has passed"
10094

101-
- python: '2.7'
102-
env:
95+
- env:
10396
- NAME=events
10497
- EVENTS=events
10598
install:
10699
# Install dependencies
107100
- sudo apt-get install gcc-arm-embedded
108-
- pip install --user -r requirements.txt
101+
- pip install -r requirements.txt
109102
# Print versions we use
110103
- arm-none-eabi-gcc --version
111104
- gcc --version
@@ -117,14 +110,13 @@ matrix:
117110
# Run local equeue tests
118111
- make -C $EVENTS/equeue test
119112

120-
- python: '2.7'
121-
env:
113+
- env:
122114
- NAME=littlefs
123115
- LITTLEFS=features/filesystem/littlefs
124116
install:
125117
# Install dependencies
126118
- sudo apt-get install gcc-arm-embedded fuse libfuse-dev
127-
- pip install --user -r requirements.txt
119+
- pip install -r requirements.txt
128120
- git clone https://github.com/armmbed/spiflash-driver.git
129121
# Print versions
130122
- arm-none-eabi-gcc --version
@@ -165,12 +157,11 @@ matrix:
165157
- CFLAGS="-Wno-format" make -CMOUNT/littlefs -B test_dirs QUIET=1
166158

167159
- &mbed-2
168-
python: '2.7'
169160
env: NAME=mbed2-NXP
170161
install:
171162
# Install dependencies
172163
- sudo apt-get install gcc-arm-embedded
173-
- pip install --user -r requirements.txt
164+
- pip install -r requirements.txt
174165
# Print versions we use
175166
- arm-none-eabi-gcc --version
176167
- python --version

0 commit comments

Comments
 (0)