Skip to content

Commit 6c0180c

Browse files
committed
ci: pin robotframework version to fix the build on TravisCI
When we don't specify robotframework version, robotframework-lint pulls the latest. This makes the build process less stable as dependencies versions might not work in our environment or conflict with robotframework-lint itself. This is exactly what has happened this time: robotframework 4.0.3 pulls ruamel 0.2.4 that requires Python 3.5 that we don't have on Travis CI (but will be available after #1467). Fix #1536
1 parent 9e14701 commit 6c0180c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ before_script:
2121
mkdir -p /tmp/uploads /tmp/preview;
2222
cp src/main/resources/test/test.png /tmp/uploads/1.png;
2323
npm install -g [email protected];
24-
pip install --user html5validator==0.3.3 robotframework-lint==1.1 ansible==2.9.2 ansible-lint==4.2.0;
24+
pip install --user html5validator==0.3.3 robotframework==3.2.2 robotframework-lint==1.1 ansible==2.9.2 ansible-lint==4.2.0;
2525
if [ "$TRAVIS_PULL_REQUEST" != 'false' ]; then
2626
gem install danger:8.2.2 nokogiri:1.10.10 --no-document;
2727
fi;

0 commit comments

Comments
 (0)