FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-can/.travis.yml at develop · feuerball/python-can · GitHub
feuerball
/
python-can
Public
forked from
hardbyte/python-can
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-can
/
.travis.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
65 lines (57 loc) · 1.62 KB
Breadcrumbs
python-can
/
.travis.yml
Copy path
File metadata and controls
65 lines (57 loc) · 1.62 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language
:
python
#
Linux setup
dist
:
focal
cache
:
directories
:
-
"
$HOME/.cache/pip
"
install
:
-
if [[ "$TEST_SOCKETCAN" ]]; then sudo bash test/open_vcan.sh ; fi
-
travis_retry python setup.py install
script
:
-
|
# install tox
travis_retry pip install tox
# Run the tests
tox -e travis
jobs
:
allow_failures
:
#
Allow arm64 builds to fail
-
arch
:
arm64
include
:
#
Stages with the same name get run in parallel.
#
Jobs within a stage can also be named.
#
testing socketcan on Trusty & Python 3.6, since it is not available on Xenial
-
stage
:
test
name
:
Socketcan
os
:
linux
arch
:
amd64
dist
:
trusty
python
:
"
3.6
"
sudo
:
required
env
:
TEST_SOCKETCAN=TRUE
#
arm64 builds
-
stage
:
test
name
:
Linux arm64
os
:
linux
arch
:
arm64
language
:
generic
sudo
:
required
addons
:
apt
:
update
:
true
env
:
HOST_ARM64=TRUE
before_install
:
-
sudo apt install -y python3 python3-pip
#
Travis doesn't seem to provide Python binaries yet for this arch
-
sudo update-alternatives --install /usr/bin/python python $(which python3) 10
-
sudo update-alternatives --install /usr/bin/pip pip $(which pip3) 10
#
The below is the same as in the Socketcan job but with elevated privileges
install
:
-
if [[ "$TEST_SOCKETCAN" ]]; then sudo bash test/open_vcan.sh ; fi
-
travis_retry sudo python setup.py install
script
:
-
|
# install tox
travis_retry sudo pip install tox
# Run the tests
sudo tox -e travis
Back
|
FazBrowse Home
|
New Git URL