mirror of https://github.com/ARMmbed/mbed-os.git
Travis: Minor cleanup
language -> python pip --user installs -> virtual env installspull/5738/head
parent
802ea1e20a
commit
bc16f2f29d
33
.travis.yml
33
.travis.yml
|
@ -1,3 +1,6 @@
|
||||||
|
language: python
|
||||||
|
python:
|
||||||
|
'2.7'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
@ -34,12 +37,9 @@ after_success:
|
||||||
after_failure:
|
after_failure:
|
||||||
- bash -c "$STATUS" failure "Local $NAME testing has failed"
|
- bash -c "$STATUS" failure "Local $NAME testing has failed"
|
||||||
|
|
||||||
language: generic
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: '2.7'
|
- env:
|
||||||
env:
|
|
||||||
- NAME=docs
|
- NAME=docs
|
||||||
install:
|
install:
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
|
@ -70,19 +70,13 @@ matrix:
|
||||||
find -name "*.s" | tee BUILD/badasm |
|
find -name "*.s" | tee BUILD/badasm |
|
||||||
sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
|
sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
|
||||||
|
|
||||||
- python: '2.7'
|
- env:
|
||||||
env:
|
|
||||||
- NAME=tools
|
- NAME=tools
|
||||||
install:
|
install:
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
- sudo apt-get install gcc-arm-embedded
|
- sudo apt-get install gcc-arm-embedded
|
||||||
- pip install --user -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install --user pytest
|
- pip install pytest pylint hypothesis mock coverage coveralls
|
||||||
- pip install --user pylint
|
|
||||||
- pip install --user hypothesis
|
|
||||||
- pip install --user mock
|
|
||||||
- pip install --user coverage
|
|
||||||
- pip install --user coveralls
|
|
||||||
# Print versions we use
|
# Print versions we use
|
||||||
- arm-none-eabi-gcc --version
|
- arm-none-eabi-gcc --version
|
||||||
- python --version
|
- python --version
|
||||||
|
@ -98,14 +92,13 @@ matrix:
|
||||||
# Report success since we have overridden default behaviour
|
# Report success since we have overridden default behaviour
|
||||||
- bash -c "$STATUS" success "Local $NAME testing has passed"
|
- bash -c "$STATUS" success "Local $NAME testing has passed"
|
||||||
|
|
||||||
- python: '2.7'
|
- env:
|
||||||
env:
|
|
||||||
- NAME=events
|
- NAME=events
|
||||||
- EVENTS=events
|
- EVENTS=events
|
||||||
install:
|
install:
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
- sudo apt-get install gcc-arm-embedded
|
- sudo apt-get install gcc-arm-embedded
|
||||||
- pip install --user -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
# Print versions we use
|
# Print versions we use
|
||||||
- arm-none-eabi-gcc --version
|
- arm-none-eabi-gcc --version
|
||||||
- gcc --version
|
- gcc --version
|
||||||
|
@ -117,14 +110,13 @@ matrix:
|
||||||
# Run local equeue tests
|
# Run local equeue tests
|
||||||
- make -C $EVENTS/equeue test
|
- make -C $EVENTS/equeue test
|
||||||
|
|
||||||
- python: '2.7'
|
- env:
|
||||||
env:
|
|
||||||
- NAME=littlefs
|
- NAME=littlefs
|
||||||
- LITTLEFS=features/filesystem/littlefs
|
- LITTLEFS=features/filesystem/littlefs
|
||||||
install:
|
install:
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
- sudo apt-get install gcc-arm-embedded fuse libfuse-dev
|
- sudo apt-get install gcc-arm-embedded fuse libfuse-dev
|
||||||
- pip install --user -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- git clone https://github.com/armmbed/spiflash-driver.git
|
- git clone https://github.com/armmbed/spiflash-driver.git
|
||||||
# Print versions
|
# Print versions
|
||||||
- arm-none-eabi-gcc --version
|
- arm-none-eabi-gcc --version
|
||||||
|
@ -165,12 +157,11 @@ matrix:
|
||||||
- CFLAGS="-Wno-format" make -CMOUNT/littlefs -B test_dirs QUIET=1
|
- CFLAGS="-Wno-format" make -CMOUNT/littlefs -B test_dirs QUIET=1
|
||||||
|
|
||||||
- &mbed-2
|
- &mbed-2
|
||||||
python: '2.7'
|
|
||||||
env: NAME=mbed2-NXP
|
env: NAME=mbed2-NXP
|
||||||
install:
|
install:
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
- sudo apt-get install gcc-arm-embedded
|
- sudo apt-get install gcc-arm-embedded
|
||||||
- pip install --user -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
# Print versions we use
|
# Print versions we use
|
||||||
- arm-none-eabi-gcc --version
|
- arm-none-eabi-gcc --version
|
||||||
- python --version
|
- python --version
|
||||||
|
|
Loading…
Reference in New Issue