Browse Source

Test working directory

Bo Yang 7 years ago
parent
commit
f495201f65
1 changed files with 3 additions and 4 deletions
  1. 3 4
      config.sh

+ 3 - 4
config.sh

@@ -4,13 +4,12 @@
 function pre_build {
 function pre_build {
     # Any stuff that you need to do before you start building the wheels
     # Any stuff that you need to do before you start building the wheels
     # Runs in the root directory of this repository.
     # Runs in the root directory of this repository.
-    :
+    pwd
+    ls
+    cd python 
 }
 }
 
 
 function run_tests {
 function run_tests {
-    # Runs tests on installed distribution from an empty directory
-    ASTROPY_INSTALL_DIR=$(dirname $(python -c 'import astropy; print(astropy.__file__)'))
-
     # Runs tests on installed distribution from an empty directory
     # Runs tests on installed distribution from an empty directory
     python --version
     python --version
     python -c "import sys; import astropy; sys.exit(astropy.test(remote_data='none'))"
     python -c "import sys; import astropy; sys.exit(astropy.test(remote_data='none'))"