This repository has been archived by the owner on Mar 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
55 lines (51 loc) · 2.48 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
#dist: xenial
language: python
python:
- '3.6'
before_install:
- sudo apt-get install libgsl2
- sudo apt-get install libgsl-dev
- export GSLDIR=$(gsl-config --prefix)
install:
pip install -r NuRadioReco/test/requirements.txt
before_script:
- wget https://github.com/nu-radio/radiotools/archive/master.zip -O /tmp/radiotools.zip
- unzip /tmp/radiotools.zip
- mv radiotools-master radiotools
- export PYTHONPATH=$PWD/radiotools
- wget https://github.com/nu-radio/NuRadioMC/archive/master.zip -O /tmp/NuRadioMC.zip
- unzip /tmp/NuRadioMC.zip
- mv NuRadioMC-master/NuRadioMC $PWD/NuRadioMC
- export PYTHONPATH=$PYTHONPATH:$PWD
- wget http://arianna.ps.uci.edu/~arianna/data/AntennaModels/createLPDA_100MHz_InfFirn/createLPDA_100MHz_InfFirn.pkl
- mkdir -p /home/travis/build/nu-radio/NuRadioReco/NuRadioReco/detector/AntennaModels/createLPDA_100MHz_InfFirn/
- mv createLPDA_100MHz_InfFirn.pkl /home/travis/build/nu-radio/NuRadioReco/NuRadioReco/detector/AntennaModels/createLPDA_100MHz_InfFirn/
- wget http://arianna.ps.uci.edu/~arianna/data/AntennaModels/bicone_v8_InfFirn/bicone_v8_InfFirn.pkl
- mkdir -p /home/travis/build/nu-radio/NuRadioReco/NuRadioReco/detector/AntennaModels/bicone_v8_InfFirn
- mv bicone_v8_InfFirn.pkl /home/travis/build/nu-radio/NuRadioReco/NuRadioReco/detector/AntennaModels/bicone_v8_InfFirn/
- chmod +x NuRadioReco/test/trigger_tests/generate_events.py
- chmod +x NuRadioReco/test/trigger_tests/trigger_tests.py
- chmod +x NuRadioReco/test/trigger_tests/compare_to_reference.py
- chmod +x NuRadioReco/test/trigger_tests/run_trigger_test.sh
jobs:
include:
- stage: "NuRadioReco tests"
name: "Tiny reconstrucution"
script: NuRadioReco/test/tiny_reconstruction/testTinyReconstruction.sh
- script: NuRadioReco/test/trigger_tests/run_trigger_test.sh
name: "Trigger tests"
- script: NuRadioReco/test/test_examples.sh
name: "Test all examples"
- stage: "NuRadioMC test"
name: "Single event test (South Pole)"
script: NuRadioMC/test/SingleEvents/test_build.sh
- script: NuRadioMC/test/SingleEvents/validate_MB.sh
name: "Single event test (Moore's Bay)"
- script: NuRadioMC/test/SignalGen/test_build.sh
name: "Signal generation test"
- script: NuRadioMC/test/SignalProp/run_signal_test.sh
name: "Signal propagation tests"
- script: NuRadioMC/test/examples/test_examples.sh
name: "Test Examples"
- script: NuRadioMC/test/Veff/1e18eV/test_build.sh
name: "Veff test"