Files
deepmind-research/.travis.yml
T
Alistair Muldal edcd3f3eac Enable Travis tests for unsupervised_adversarial_training
* Pin the version of Tensorflow at >= 1.15. This allows us to remove a workaround that causes breakages for newer versions (we get errors if `AddV2` already has a registered gradient).
* Pin the version of Tensorflow at < 2 since cleverhans <= 3.1.0 doesn't properly support TF2
* Pin the version of cleverhans between 3.0.1 and 3.1.0. Versions newer than 3.1.0 will no longer support TF1.
* Comment out the dependency on `tensorflow-gpu` as it's not a strict requirement, and it does nothing for us on Travis.

PiperOrigin-RevId: 368241595
2021-04-13 21:06:33 +01:00

38 lines
1.0 KiB
YAML

sudo: required
dist: trusty
language: python
git:
depth: 10
quiet: true
python:
- "3.6"
env:
matrix:
- PROJECT="adversarial_robustness"
- PROJECT="avae"
# - PROJECT="cs_gan" # TODO(b/184845450): Fix and re-enable
- PROJECT="gated_linear_networks"
- PROJECT="geomancer"
- PROJECT="hierarchical_probabilistic_unet"
- PROJECT="iodine"
- PROJECT="kfac_ferminet_alpha"
- PROJECT="learning_to_simulate"
- PROJECT="nfnets"
- PROJECT="noise_covariance"
- PROJECT="option_keyboard"
# - PROJECT="polygen" # TODO(b/184847339): Fix and re-enable
# - PROJECT="scratchgan" # TODO(b/184856293): Fix and enable
- PROJECT="sketchy"
- PROJECT="transporter"
- PROJECT="tvt"
# - PROJECT="unrestricted_advx" # TODO(b/184862249): Fix and enable
- PROJECT="unsupervised_adversarial_training"
before_script:
- sudo apt-get update -qq
- pip install --upgrade pip
- pip install --upgrade virtualenv
- pip install --upgrade wheel
script:
- ./$PROJECT/run.sh