Changes in / [30b60d2:ab60822] in sasmodels
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
.travis.yml
rb419c2d r947a61e 1 1 language: python 2 3 sudo: false 4 2 sudo: false 5 3 matrix: 6 4 include: 7 - os: linux 8 env: 9 - PY=2.7 10 - os: linux 11 env: 12 - PY=3.6 13 - os: osx 14 language: generic 15 env: 16 - PY=2.7 17 - os: osx 18 language: generic 19 env: 20 - PY=3.5 21 22 # whitelist 5 - os: linux 6 env: 7 - PY=2.7 8 - os: linux 9 env: 10 - PY=3.6 11 - os: osx 12 language: generic 13 env: 14 - PY=2.7 15 - os: osx 16 language: generic 17 env: 18 - PY=3.5 23 19 branches: 24 20 only: 25 - master 26 21 - master 27 22 addons: 28 23 apt: 29 packages: 30 opencl-headers 31 24 packages: opencl-headers 32 25 before_install: 33 - echo $TRAVIS_OS_NAME 34 35 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 36 wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; 37 fi; 38 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 39 wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; 40 fi; 41 42 - bash miniconda.sh -b -p $HOME/miniconda 43 - export PATH="$HOME/miniconda/bin:$PATH" 44 - hash -r 45 - conda update --yes conda 46 47 # Useful for debugging any issues with conda 48 - conda info -a 49 50 - conda install --yes python=$PY numpy scipy cython mako cffi 51 52 # Not testing with opencl below, so don't need to install it 53 #- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 54 # pip install pyopencl; 55 # fi; 56 26 - openssl aes-256-cbc -K $encrypted_fe6026add10a_key -iv $encrypted_fe6026add10a_iv 27 -in .travis/travis_rsa.enc -out .travis/travis_rsa -d 28 - echo $TRAVIS_OS_NAME 29 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh 30 -O miniconda.sh; fi; 31 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh 32 -O miniconda.sh; fi; 33 - bash miniconda.sh -b -p $HOME/miniconda 34 - export PATH="$HOME/miniconda/bin:$PATH" 35 - hash -r 36 - conda update --yes conda 37 - conda info -a 38 - conda install --yes python=$PY numpy scipy cython mako cffi 57 39 install: 58 - pip install bumps 59 - pip install unittest-xml-reporting 60 40 - pip install bumps 41 - pip install unittest-xml-reporting 61 42 script: 62 43 - python --version 63 44 - python -m sasmodels.model_test -v dll all 64 45 before_deploy: 46 - echo -e "Host danse.chem.utk.edu\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config 47 deploy: 48 skip_cleanup: true 49 provider: script 50 script: /bin/sh -ex ./deploy.sh 51 on: 52 branch: master 65 53 notifications: 66 54 slack: -
sasmodels/models/line.py
r48462b0 rc63a7c8 15 15 16 16 .. math:: 17 17 18 I(q) = \text{scale} (I(qx) \cdot I(qy)) + \text{background} 18 19
Note: See TracChangeset
for help on using the changeset viewer.