1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,36 +0,0 @@ |
1 |
-sudo: required |
|
2 |
-dist: bionic |
|
3 |
- |
|
4 |
-language: generic |
|
5 |
- |
|
6 |
-addons: |
|
7 |
- apt: |
|
8 |
- packages: |
|
9 |
- - gir1.2-gtk-3.0 |
|
10 |
- - python3-gi |
|
11 |
- - python3-gi-cairo |
|
12 |
- - python3-numpy |
|
13 |
- - graphviz |
|
14 |
- - xvfb |
|
15 |
- - twine |
|
16 |
- |
|
17 |
-before_install: |
|
18 |
-- dot -V |
|
19 |
-- /usr/bin/python3 --version |
|
20 |
- |
|
21 |
-script: |
|
22 |
-- cd tests |
|
23 |
-- LANG=C xvfb-run -a -s '-screen 0 1024x768x24' /usr/bin/python3 ../test.py *.dot graphs/*.gv |
|
24 |
-- cd .. |
|
25 |
- |
|
26 |
-# https://docs.travis-ci.com/user/deployment/pypi/ |
|
27 |
-deploy: |
|
28 |
- provider: pypi |
|
29 |
- user: jrfonseca |
|
30 |
- password: |
|
31 |
- secure: HAPllYFYXrSl5IPMIoWHCTuk6rxxqoHDZWudtctiVxBGlaBftya08nFi+jfWHZOE3cofoqnkXUV+9qtMG9aLW8wVtZeABy33KQe2MPppn3dNFN/UKKskXBsFpSeFy8xAwwcWou1okrg9kFfZpxwb272e0MHrtMsXjNmpodrUAhM= |
|
32 |
- on: |
|
33 |
- tags: true |
|
34 |
- distributions: sdist |
|
35 |
- repo: jrfonseca/xdot.py |
|
36 |
- skip_upload_docs: true |
- changed Edge to yield Jump everywhere along the curve
- changed Edge and Graph such that edges are highlighted only when directly connected to element under cursor
- fixed issue related to non-Bezier shapes in Edge
- replaced precomputation of points by distance to curve computation
- added requirement numpy to travis configuration
- added method get_smallest_distance to Shape
- moved Edge._get_distance to BezierShape.get_smallest_distance
- changed BezierShape.get_smallest_distance to include endpoints
As we want to use system python.
... | ... |
@@ -1,14 +1,7 @@ |
1 |
-# Use trusty for newer graphviz |
|
2 | 1 |
sudo: required |
3 |
-# https://blog.travis-ci.com/2017-06-21-trusty-updates-2017-Q2-launch |
|
4 |
-group: deprecated-2017Q2 |
|
5 | 2 |
dist: trusty |
6 | 3 |
|
7 |
-language: python |
|
8 |
- |
|
9 |
-python: |
|
10 |
-# https://github.com/travis-ci/travis-ci/issues/2219 |
|
11 |
-- "3.4_with_system_site_packages" |
|
4 |
+language: generic |
|
12 | 5 |
|
13 | 6 |
addons: |
14 | 7 |
apt: |
... | ... |
@@ -21,10 +14,11 @@ addons: |
21 | 14 |
|
22 | 15 |
before_install: |
23 | 16 |
- dot -V |
17 |
+- /usr/bin/python3 --version |
|
24 | 18 |
|
25 | 19 |
script: |
26 | 20 |
- cd tests |
27 |
-- LANG=C xvfb-run -a -s '-screen 0 1024x768x24' python ../test.py *.dot graphs/*.gv |
|
21 |
+- LANG=C xvfb-run -a -s '-screen 0 1024x768x24' /usr/bin/python3 ../test.py *.dot graphs/*.gv |
|
28 | 22 |
- cd .. |
29 | 23 |
|
30 | 24 |
# https://docs.travis-ci.com/user/deployment/pypi/ |
It seems system packages can't be found when using
"3.4_with_system_site_packages" python.
Possibly related to https://github.com/travis-ci/travis-ci/issues/8048
Things just happened to work when locale was set to UTF-8, but would
fail otherwise. In particular it would fail on Windows where text files
don't default to UTF-8.
Fixes https://github.com/jrfonseca/xdot.py/issues/46
... | ... |
@@ -22,7 +22,7 @@ before_install: |
22 | 22 |
|
23 | 23 |
script: |
24 | 24 |
- cd tests |
25 |
-- xvfb-run -a -s '-screen 0 1024x768x24' python ../test.py *.dot graphs/*.gv |
|
25 |
+- LANG=C xvfb-run -a -s '-screen 0 1024x768x24' python ../test.py *.dot graphs/*.gv |
|
26 | 26 |
- cd .. |
27 | 27 |
|
28 | 28 |
# https://docs.travis-ci.com/user/deployment/pypi/ |
... | ... |
@@ -23,6 +23,7 @@ before_install: |
23 | 23 |
script: |
24 | 24 |
- cd tests |
25 | 25 |
- xvfb-run -a -s '-screen 0 1024x768x24' python ../test.py *.dot graphs/*.gv |
26 |
+- cd .. |
|
26 | 27 |
|
27 | 28 |
# https://docs.travis-ci.com/user/deployment/pypi/ |
28 | 29 |
deploy: |
... | ... |
@@ -34,5 +35,4 @@ deploy: |
34 | 35 |
tags: true |
35 | 36 |
distributions: sdist |
36 | 37 |
repo: jrfonseca/xdot.py |
37 |
- skip_cleanup: true |
|
38 | 38 |
skip_upload_docs: true |
... | ... |
@@ -29,7 +29,7 @@ deploy: |
29 | 29 |
provider: pypi |
30 | 30 |
user: jrfonseca |
31 | 31 |
password: |
32 |
- secure: WJOfZYkpzmG62sHgoBb66TDGeFHP/KNGrwl/ul8Q22SdFCr5u3gpmQ8bHGgV3fXk/onuDPC3gJxcLpH5+MeZEHiS+pL+gP5XbtiEGOXPe8N2I3eIffO4gHnx1naC5stdk8v44SAY/9pw+CGBOHDJXWMeMDM/QEWo7bpHsZkpRZI= |
|
32 |
+ secure: HAPllYFYXrSl5IPMIoWHCTuk6rxxqoHDZWudtctiVxBGlaBftya08nFi+jfWHZOE3cofoqnkXUV+9qtMG9aLW8wVtZeABy33KQe2MPppn3dNFN/UKKskXBsFpSeFy8xAwwcWou1okrg9kFfZpxwb272e0MHrtMsXjNmpodrUAhM= |
|
33 | 33 |
on: |
34 | 34 |
tags: true |
35 | 35 |
distributions: sdist |
... | ... |
@@ -23,3 +23,14 @@ before_install: |
23 | 23 |
script: |
24 | 24 |
- cd tests |
25 | 25 |
- xvfb-run -a -s '-screen 0 1024x768x24' python ../test.py *.dot graphs/*.gv |
26 |
+ |
|
27 |
+# https://docs.travis-ci.com/user/deployment/pypi/ |
|
28 |
+deploy: |
|
29 |
+ provider: pypi |
|
30 |
+ user: jrfonseca |
|
31 |
+ password: |
|
32 |
+ secure: WJOfZYkpzmG62sHgoBb66TDGeFHP/KNGrwl/ul8Q22SdFCr5u3gpmQ8bHGgV3fXk/onuDPC3gJxcLpH5+MeZEHiS+pL+gP5XbtiEGOXPe8N2I3eIffO4gHnx1naC5stdk8v44SAY/9pw+CGBOHDJXWMeMDM/QEWo7bpHsZkpRZI= |
|
33 |
+ on: |
|
34 |
+ tags: true |
|
35 |
+ distributions: sdist |
|
36 |
+ repo: jrfonseca/xdot.py |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,25 @@ |
1 |
+# Use trusty for newer graphviz |
|
2 |
+sudo: required |
|
3 |
+dist: trusty |
|
4 |
+ |
|
5 |
+language: python |
|
6 |
+ |
|
7 |
+python: |
|
8 |
+# https://github.com/travis-ci/travis-ci/issues/2219 |
|
9 |
+- "3.4_with_system_site_packages" |
|
10 |
+ |
|
11 |
+addons: |
|
12 |
+ apt: |
|
13 |
+ packages: |
|
14 |
+ - gir1.2-gtk-3.0 |
|
15 |
+ - python3-gi |
|
16 |
+ - python3-gi-cairo |
|
17 |
+ - graphviz |
|
18 |
+ - xvfb |
|
19 |
+ |
|
20 |
+before_install: |
|
21 |
+- dot -V |
|
22 |
+ |
|
23 |
+script: |
|
24 |
+- cd tests |
|
25 |
+- xvfb-run -a -s '-screen 0 1024x768x24' python ../test.py *.dot graphs/*.gv |