Skip to content

Commit 35d46bb

Browse files
committed
ci: install ansible and ansible-lint in a single command to prevent versions mismatch.
Also install other packages from pip in the same command. This should help us to identify issues with conflicted dependencies earlier and prevent issues like #1120 and #1148 in future. Fix #1148
1 parent 747486a commit 35d46bb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ before_script:
2424
mkdir -p /tmp/uploads /tmp/preview;
2525
cp src/main/resources/test/test.png /tmp/uploads/1.png;
2626
npm install -g bootlint;
27-
pip install --user html5validator robotframework-lint;
28-
if [ "$TRAVIS_BRANCH" = 'prod' -a "$TRAVIS_PULL_REQUEST" = 'false' ]; then
29-
pip install --user ansible==2.1.1.0;
30-
fi;
31-
pip install --user ansible-lint;
27+
pip install --user html5validator robotframework-lint ansible==2.1.1.0 ansible-lint;
3228
if [ "$TRAVIS_PULL_REQUEST" != 'false' ]; then
3329
gem install danger nokogiri --no-ri --no-rdoc;
3430
fi;

0 commit comments

Comments
 (0)