LLNL / py-hostlist

hostlist utility implemented in python
MIT License
6 stars 2 forks source link

Call -h in Travis #25

Closed gonsie closed 6 years ago

gonsie commented 6 years ago

@IanLee1521 recommends that our Travis CI testing calls hostlist -h just to make sure it works.

cmoussa1 commented 6 years ago

Hmm... just using hostlist -h results in a failed build. We get the following error:

hostlist: command not found
The command "hostlist -h" exited with 127.

Do we need to use any other commands in our .travis.yml file before running hostlist -h? Are we getting this error because we need to build our project first?

cmoussa1 commented 6 years ago

Going to open another branch hostlist-cmd-travis to address this issue.

gonsie commented 6 years ago

We definitely need to build our project first. Once our project is built and installed, running hostlist -h should succeed.

cmoussa1 commented 6 years ago

Got it working! You were right - once we added build and install commands to .travis.yml, the hostlist -h command works just fine.