-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
61 lines (57 loc) · 1.88 KB
/
.travis.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: python
notifications:
email: false
python:
- "2.7"
- "3.5"
sudo: required
dist: trusty
before_install:
- mysql -u root -i -e "FLUSH PRIVILEGES; SET PASSWORD FOR 'root'@'localhost' = PASSWORD('neur0data')"
- sudo apt-get install apt-transport-https ca-certificates
- sudo apt-get update -y;
install:
- git branch
- sudo pwd
- sudo ls
- sudo ls ./tests
- sudo ls ./tests/data
- sudo ls ./tests/data/test_ingest_pics
- sudo apt-get autoremove
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-4.9 g++-4.9 -y
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
- sudo apt-get install gcc-4.8 g++-4.8 -y
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
- sudo apt-get install python-dev python3-dev
- sudo apt-get install python-setuptools python3-setuptools
- sudo apt-get install python-numpy
- sudo apt-get install zlib1g-dev
- sudo apt-get install libhdf5-serial-dev
- sudo apt-get install python-nose
- sudo pip install --install-option='--no-cython-compile' cython
- pip install .
- pip install pep8
- pip install pydocstyle
- pip install json-spec jsonschema
- echo "Branch $TRAVIS_BRANCH"
- git clone http://github.com/neurodata/ndstore
- sudo ndstore/setup/ndstore_install.sh
- sudo pwd
- sudo ls
- sudo ./ndingest_test_setup.sh
- sudo service nginx restart
- git clone https://github.com/neurodata/ndingest
- sudo ndingest/setup/ndingest_run.sh
- cd /home/neurodata/ndstore/test
- sudo py.test
cache:
- pip
- apt
script:
- cd $TRAVIS_BUILD_DIR
- ./stylecheck +
- cd $TRAVIS_BUILD_DIR
- cd tests
- python -m unittest discover