Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ env:
- DB=postgres TEST=pulp
- DB=mariadb TEST=pulp
- DB=postgres TEST=docs
- DB=postgres TEST=bindings
matrix:
exclude:
- python: '3.6'
env: DB=postgres TEST=docs
- python: '3.6'
env: DB=mariadb TEST=pulp
- python: '3.7'
env: DB=postgres TEST=bindings
fast_finish: true
services:
- postgresql
Expand Down
12 changes: 12 additions & 0 deletions .travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ if [ "$TEST" = 'docs' ]; then
exit
fi

if [ "$TEST" = 'bindings' ]; then
cd ..
git clone https://github.com/pulp/pulp-swagger-codegen.git
cd pulp-swagger-codegen
sudo ./generate.sh pulpcore python
sudo ./generate.sh pulp_file python
pip install ./pulpcore-client
pip install ./pulp_file-client
python test_bindings.py
exit
fi

# check the commit message
./.travis/check_commit.sh

Expand Down