Skip to content

Commit b4bbc59

Browse files
author
Hugo Osvaldo Barrera
committed
Simplify travis setup a bit
1 parent 7e4a0be commit b4bbc59

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
},
1414
"install": [
1515
". scripts/travis-install.sh",
16-
"pip install -U pip setuptools",
17-
"pip install wheel",
18-
"make -e install-dev",
1916
"make -e install-$BUILD"
2017
],
2118
"language": "python",

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ install-servers:
7171
(cd $(TESTSERVER_BASE)$$server && sh install.sh); \
7272
done
7373

74-
install-test: install-servers
74+
install-test: install-servers install-dev
7575
pip install -Ur test-requirements.txt
7676
set -xe && if [ "$$REQUIREMENTS" = "devel" ]; then \
7777
pip install -U --force-reinstall \
@@ -81,7 +81,7 @@ install-test: install-servers
8181
fi
8282
[ -z "$(TEST_EXTRA_PACKAGES)" ] || pip install $(TEST_EXTRA_PACKAGES)
8383

84-
install-style: install-docs
84+
install-style: install-docs install-dev
8585
pip install -U flake8 flake8-import-order flake8-bugbear autopep8
8686

8787
style:
@@ -114,6 +114,7 @@ release-deb:
114114
sh scripts/release-deb.sh ubuntu zesty
115115

116116
install-dev:
117+
pip install -U pip setuptools wheel
117118
pip install -e .
118119
[ "$(ETESYNC_TESTS)" = "false" ] || pip install -Ue .[etesync]
119120
set -xe && if [ "$(REQUIREMENTS)" = "devel" ]; then \

scripts/make_travisconf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222

2323
cfg['install'] = """
2424
. scripts/travis-install.sh
25-
pip install -U pip setuptools
26-
pip install wheel
27-
make -e install-dev
2825
make -e install-$BUILD
2926
""".strip().splitlines()
3027

0 commit comments

Comments
 (0)