Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

tox.ini 1.4 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  1. [tox]
  2. envlist = py27, py35, py36
  3. [testenv:flake8]
  4. basepython=python
  5. deps=flake8
  6. commands=flake8 wandb
  7. [testenv:py27]
  8. commands =
  9. pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.5.0-cp27-none-linux_x86_64.whl
  10. pip install http://download.pytorch.org/whl/cpu/torch-0.3.1-cp27-cp27mu-linux_x86_64.whl
  11. pip install keras
  12. [testenv:py35]
  13. commands =
  14. pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.5.0-cp35-cp35m-linux_x86_64.whl
  15. pip install http://download.pytorch.org/whl/cpu/torch-0.3.1-cp35-cp35m-linux_x86_64.whl
  16. pip install keras
  17. [testenv:py36]
  18. commands =
  19. pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.5.0-cp36-cp36m-linux_x86_64.whl
  20. pip install http://download.pytorch.org/whl/cpu/torch-0.3.1-cp36-cp36m-linux_x86_64.whl
  21. pip install keras
  22. [testenv]
  23. setenv =
  24. PYTHONPATH = {toxinidir}:{toxinidir}/wandb
  25. passenv = CIRCLE_BRANCH
  26. deps =
  27. -r{toxinidir}/requirements_dev.txt
  28. whitelist_externals = mkdir
  29. commands =
  30. mkdir -p "{env:CIRCLE_TEST_REPORTS}"/tox
  31. py.test --cov=wandb --basetemp={envtmpdir} \
  32. --junitxml="{env:CIRCLE_TEST_REPORTS}/tox/tests-{envname}.xml"
  33. coveralls
  34. ; If you want to make tox run the tests with the same versions, create a
  35. ; requirements.txt with the pinned versions and uncomment the following lines:
  36. ; deps =
  37. ; -r{toxinidir}/requirements.txt
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...