mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Compare commits
3 commits
984ab3570a
...
2983648a4c
Author | SHA1 | Date | |
---|---|---|---|
|
2983648a4c | ||
|
047a58238d | ||
|
96a91f6148 |
2 changed files with 13 additions and 2 deletions
10
.travis.yml
10
.travis.yml
|
@ -1,7 +1,9 @@
|
|||
addons:
|
||||
homebrew:
|
||||
update: true
|
||||
brewfile: true
|
||||
packages:
|
||||
- python3
|
||||
update: true
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/perl_modules
|
||||
|
@ -23,6 +25,12 @@ install:
|
|||
# Tests are failing for them sometimes
|
||||
- sudo cpanm --notest Capture::Tiny IPC::System::Simple
|
||||
- sudo cpanm Code::TidyAll::Plugin::Flake8 Perl::Tidy Test::Code::TidyAll Test::Differences Test::TrailingSpace
|
||||
|
||||
# Taken from https://github.com/mesa3d/mesa/blob/4d57a2750485e51b34e0bc413100e4e2787a4e84/.travis.yml
|
||||
# thanks!
|
||||
# Set PATH for homebrew pip3 installs
|
||||
- PYTHON_VERSION=$(python3 -V | awk '{print $2}' | cut -d. -f1-2)
|
||||
- PATH="$HOME/Library/Python/$PYTHON_VERSION/bin:${PATH}"
|
||||
- export PY_MODS='attrs configobj pycotap pysol-cards random2 setuptools six'
|
||||
- sudo pip3 install --upgrade $PY_MODS flake8 flake8-import-order
|
||||
- sudo pip2 install --upgrade $PY_MODS
|
||||
|
|
|
@ -355,7 +355,10 @@ Please check your %(app)s installation.
|
|||
if music:
|
||||
app.music_playlist = list(music)[:]
|
||||
app.miscrandom.shuffle(app.music_playlist)
|
||||
if 1:
|
||||
# Cancelling because otherwise people complain
|
||||
# that the music order is not random.
|
||||
SHOULD_PUT_bye_for_now_FIRST = False
|
||||
if SHOULD_PUT_bye_for_now_FIRST:
|
||||
for m in app.music_playlist:
|
||||
if m.name.lower() == "bye_for_now":
|
||||
app.music_playlist.remove(m)
|
||||
|
|
Loading…
Add table
Reference in a new issue