Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #865 from fniephaus/patch-1
Compilation fixes for macOS
- Loading branch information
Showing
with
12 additions
and 7 deletions.
- +4 −2 .travis.yml
- +6 −3 tasks/base.py
- +2 −2 topaz/modules/process.py
@@ -1,13 +1,16 @@ | ||
import os | ||
|
||
from invoke import run | ||
import invoke | ||
|
||
|
||
invoke.run = os.system | ||
|
||
|
||
class BaseTest(object): | ||
def download_mspec(self): | ||
if not os.path.isdir("../mspec"): | ||
run("cd .. && git clone --depth=100 --quiet https://github.com/ruby/mspec") | ||
invoke.run("cd .. && git clone --depth=100 --quiet https://github.com/ruby/mspec") | ||
|
||
def download_rubyspec(self): | ||
if not os.path.isdir("../rubyspec"): | ||
run("cd .. && git clone --depth=100 --quiet https://github.com/ruby/spec rubyspec") | ||
invoke.run("cd .. && git clone --depth=100 --quiet https://github.com/ruby/spec rubyspec") |