jobs: - job: 'integration_test_local_ubuntu' timeoutInMinutes: 120 steps: - script: python3 -m pip install --upgrade pip setuptools --user displayName: 'Install python tools' - script: | source install.sh displayName: 'Install nni toolkit via source code' - script: | python3 -m pip install scikit-learn==0.20.0 --user python3 -m pip install torchvision==0.4.1 --user python3 -m pip install torch==1.3.1 --user python3 -m pip install keras==2.1.6 --user python3 -m pip install tensorflow-gpu==1.15 --user sudo apt-get install swig -y PATH=$HOME/.local/bin:$PATH nnictl package install --name=SMAC PATH=$HOME/.local/bin:$PATH nnictl package install --name=BOHB displayName: 'Install dependencies for integration tests' - script: | cd test source scripts/unittest.sh displayName: 'Unit test' - script: | cd test PATH=$HOME/.local/bin:$PATH python3 nni_test/nnitest/run_tests.py --config config/integration_tests.yml --ts local displayName: 'Integration test' - script: | cd test source scripts/model_compression.sh displayName: 'Model compression test'