Fabio Utzig | 14301ab | 2020-04-16 17:20:38 -0300 | [diff] [blame] | 1 | #!/bin/bash -x |
| 2 | |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
Fabio Utzig | c06694e | 2020-11-10 10:36:42 -0300 | [diff] [blame] | 15 | if [[ $TRAVIS == "true" ]]; then |
| 16 | if [[ $TRAVIS_PULL_REQUEST != "false" || $TRAVIS_BRANCH != "master" ]]; then |
| 17 | echo "Either a PR or not \"master\" branch, exiting" |
| 18 | exit 0 |
| 19 | fi |
Fabio Utzig | 14301ab | 2020-04-16 17:20:38 -0300 | [diff] [blame] | 20 | fi |
| 21 | |
Fabio Utzig | b3df8f4 | 2021-02-11 19:18:43 -0300 | [diff] [blame] | 22 | pip install setuptools twine packaging wheel |
| 23 | pip install --pre imgtool |