diff --git a/.circleci/test/test_sort_yaml.py b/.circleci/test/test_sort_yaml.py new file mode 100755 index 0000000000..dc6db481dd --- /dev/null +++ b/.circleci/test/test_sort_yaml.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 + +""" +To compare new version with previous: + + ./regenerate.sh + meld <(git show HEAD:./config.yml | ./sort-yaml.py) <(cat config.yml | ./sort-yaml.py) +""" + + +import sys +import yaml + +sys.stdout.write(yaml.dump(yaml.load(sys.stdin, Loader=yaml.FullLoader), sort_keys=True)) diff --git a/.circleci/unittest/linux/scripts/environment.yml b/.circleci/unittest/linux/scripts/environment.yml new file mode 100644 index 0000000000..4315a2205b --- /dev/null +++ b/.circleci/unittest/linux/scripts/environment.yml @@ -0,0 +1,17 @@ +# a comment for these trying times +channels: + - conda-forge + - defaults +dependencies: + - flake8 + - numpy >= 1.11 + - pytest + - pytest-cov + - codecov + - librosa>=0.8.0 + - llvmlite==0.31 # See https://github.com/pytorch/audio/pull/766 + - pip + - pip: + - kaldi-io + - scipy + - parameterized